summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/option.c b/src/option.c
index f6ed2d37..60956d78 100644
--- a/src/option.c
+++ b/src/option.c
@@ -8584,8 +8584,8 @@ check_redraw(flags)
long_u flags;
{
/* Careful: P_RCLR and P_RALL are a combination of other P_ flags */
- int clear = (flags & P_RCLR) == P_RCLR;
- int all = ((flags & P_RALL) == P_RALL || clear);
+ int doclear = (flags & P_RCLR) == P_RCLR;
+ int all = ((flags & P_RALL) == P_RALL || doclear);
#ifdef FEAT_WINDOWS
if ((flags & P_RSTAT) || all) /* mark all status lines dirty */
@@ -8596,7 +8596,7 @@ check_redraw(flags)
changed_window_setting();
if (flags & P_RBUF)
redraw_curbuf_later(NOT_VALID);
- if (clear)
+ if (doclear)
redraw_all_later(CLEAR);
else if (all)
redraw_all_later(NOT_VALID);