diff options
Diffstat (limited to 'src/move.c')
-rw-r--r-- | src/move.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/move.c b/src/move.c index 3a75ce36a..67e214bf9 100644 --- a/src/move.c +++ b/src/move.c @@ -2101,7 +2101,9 @@ scroll_cursor_halfway(atend) int used; lineoff_T loff; lineoff_T boff; +#ifdef FEAT_DIFF linenr_T old_topline = curwin->w_topline; +#endif loff.lnum = boff.lnum = curwin->w_cursor.lnum; #ifdef FEAT_FOLDING |