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/if_tcl.c | |
parent | 28c9f895716cfa8f1220bc41b72a534c0e10cabe (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/if_tcl.c')
-rw-r--r-- | src/if_tcl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/if_tcl.c b/src/if_tcl.c index f2b5541d73..6c7768972a 100644 --- a/src/if_tcl.c +++ b/src/if_tcl.c @@ -931,13 +931,13 @@ bufselfcmd( } if (flags & FL_UPDATE_CURBUF) - redraw_curbuf_later(NOT_VALID); + redraw_curbuf_later(UPD_NOT_VALID); curbuf = savebuf; curwin = savewin; if (flags & FL_ADJUST_CURSOR) check_cursor(); if (flags & (FL_UPDATE_SCREEN | FL_UPDATE_CURBUF)) - update_screen(NOT_VALID); + update_screen(UPD_NOT_VALID); return err; } @@ -1115,7 +1115,7 @@ winselfcmd( curwin = savewin; curbuf = savebuf; if (flags & FL_UPDATE_SCREEN) - update_screen(NOT_VALID); + update_screen(UPD_NOT_VALID); return err; } @@ -1131,7 +1131,7 @@ commandcmd( int err; err = tcldoexcommand(interp, objc, objv, 1); - update_screen(VALID); + update_screen(UPD_VALID); return err; } @@ -1145,7 +1145,7 @@ optioncmd( int err; err = tclsetoption(interp, objc, objv, 1); - update_screen(VALID); + update_screen(UPD_VALID); return err; } |