summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index c6430aaac5..f4db631a31 100644
--- a/src/main.c
+++ b/src/main.c
@@ -686,7 +686,7 @@ vim_main2(void)
&& !gui.in_use
#endif
)
- must_redraw = UPD_CLEAR;
+ set_must_redraw(UPD_CLEAR);
else
{
screenclear(); // clear screen