diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c index 82985ced0..f1c79895e 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -2039,7 +2039,7 @@ static void winch_sig(int sig ATTRIBUTE_UNUSED) | |||
2039 | { | 2039 | { |
2040 | signal(SIGWINCH, winch_sig); | 2040 | signal(SIGWINCH, winch_sig); |
2041 | if (ENABLE_FEATURE_VI_WIN_RESIZE) | 2041 | if (ENABLE_FEATURE_VI_WIN_RESIZE) |
2042 | get_terminal_width_height(0, &columns, &rows); | 2042 | get_terminal_width_height(0, &columns, &rows); |
2043 | new_screen(rows, columns); // get memory for virtual screen | 2043 | new_screen(rows, columns); // get memory for virtual screen |
2044 | redraw(TRUE); // re-draw the screen | 2044 | redraw(TRUE); // re-draw the screen |
2045 | } | 2045 | } |