summaryrefslogtreecommitdiffstats
path: root/src/diff.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-14 14:17:45 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-14 14:17:45 +0100
commita4d158b3c839e96ed98ff87c7b7124ff4518c4ff (patch)
tree42d3a6b65d4ae53a6e078c8f24a5ee9960e3ad24 /src/diff.c
parent28c9f895716cfa8f1220bc41b72a534c0e10cabe (diff)
patch 9.0.0206: redraw flags are not named specificallyv9.0.0206
Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
Diffstat (limited to 'src/diff.c')
-rw-r--r--src/diff.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/diff.c b/src/diff.c
index 43feb2a8b3..80f1eb3368 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -123,7 +123,7 @@ diff_buf_delete(buf_T *buf)
// don't redraw right away, more might change or buffer state
// is invalid right now
need_diff_redraw = TRUE;
- redraw_later(VALID);
+ redraw_later(UPD_VALID);
}
}
}
@@ -683,7 +683,7 @@ diff_redraw(
if (!wp->w_p_diff || !buf_valid(wp->w_buffer))
continue;
- redraw_win_later(wp, SOME_VALID);
+ redraw_win_later(wp, UPD_SOME_VALID);
if (wp != curwin)
wp_other = wp;
#ifdef FEAT_FOLDING
@@ -1336,7 +1336,7 @@ ex_diffpatch(exarg_T *eap)
#endif
// patch probably has written over the screen
- redraw_later(CLEAR);
+ redraw_later(UPD_CLEAR);
// Delete any .orig or .rej file created.
STRCPY(buf, tmp_new);
@@ -1544,7 +1544,7 @@ diff_win_options(
if (addbuf)
diff_buf_add(wp->w_buffer);
- redraw_win_later(wp, NOT_VALID);
+ redraw_win_later(wp, UPD_NOT_VALID);
}
/*