diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editors/vi.c b/editors/vi.c index 660c01c3c..a890ad9d3 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -1088,13 +1088,12 @@ static void Hit_Return(void) | |||
1088 | //----- Synchronize the cursor to Dot -------------------------- | 1088 | //----- Synchronize the cursor to Dot -------------------------- |
1089 | static void sync_cursor(Byte * d, int *row, int *col) | 1089 | static void sync_cursor(Byte * d, int *row, int *col) |
1090 | { | 1090 | { |
1091 | Byte *beg_cur, *end_cur; // begin and end of "d" line | 1091 | Byte *beg_cur; // begin and end of "d" line |
1092 | Byte *beg_scr, *end_scr; // begin and end of screen | 1092 | Byte *beg_scr, *end_scr; // begin and end of screen |
1093 | Byte *tp; | 1093 | Byte *tp; |
1094 | int cnt, ro, co; | 1094 | int cnt, ro, co; |
1095 | 1095 | ||
1096 | beg_cur = begin_line(d); // first char of cur line | 1096 | beg_cur = begin_line(d); // first char of cur line |
1097 | end_cur = end_line(d); // last char of cur line | ||
1098 | 1097 | ||
1099 | beg_scr = end_scr = screenbegin; // first char of screen | 1098 | beg_scr = end_scr = screenbegin; // first char of screen |
1100 | end_scr = end_screen(); // last char of screen | 1099 | end_scr = end_screen(); // last char of screen |