diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-14 14:17:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-14 14:17:45 +0100 |
commit | a4d158b3c839e96ed98ff87c7b7124ff4518c4ff (patch) | |
tree | 42d3a6b65d4ae53a6e078c8f24a5ee9960e3ad24 /src/diff.c | |
parent | 28c9f895716cfa8f1220bc41b72a534c0e10cabe (diff) | |
download | vim-git-a4d158b3c839e96ed98ff87c7b7124ff4518c4ff.tar.gz |
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.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/diff.c b/src/diff.c index 43feb2a8b..80f1eb336 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); } /* |