diff options
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c index 64edddce8d..a882d67feb 100644 --- a/src/edit.c +++ b/src/edit.c @@ -3613,7 +3613,8 @@ ins_esc( temp = curwin->w_cursor.col; if (disabled_redraw) { - --RedrawingDisabled; + if (RedrawingDisabled > 0) + --RedrawingDisabled; disabled_redraw = FALSE; } if (!arrow_used) |