summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 902fc2c1a2..382029a65a 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -7116,7 +7116,7 @@ do_exedit(
#ifdef FEAT_GUI
hold_gui_events = 0;
#endif
- must_redraw = UPD_CLEAR;
+ set_must_redraw(UPD_CLEAR);
pending_exmode_active = TRUE;
main_loop(FALSE, TRUE);