Mercurial > vim
diff src/if_mzsch.c @ 29732:89e1d67814a9 v9.0.0206
patch 9.0.0206: redraw flags are not named specifically
Commit: https://github.com/vim/vim/commit/a4d158b3c839e96ed98ff87c7b7124ff4518c4ff
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 14 14:17:45 2022 +0100
patch 9.0.0206: redraw flags are not named specifically
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Aug 2022 15:30:05 +0200 |
parents | 9849df834f1d |
children | 029c59bf78f1 |
line wrap: on
line diff
--- a/src/if_mzsch.c +++ b/src/if_mzsch.c @@ -1631,7 +1631,7 @@ vim_command(void *data, int argc, Scheme // may be use do_cmdline_cmd? do_cmdline(BYTE_STRING_VALUE(cmd), NULL, NULL, DOCMD_NOWAIT|DOCMD_VERBOSE); - update_screen(VALID); + update_screen(UPD_VALID); MZ_GC_UNREG(); raise_if_error(); @@ -1836,7 +1836,7 @@ set_option(void *data, int argc, Scheme_ MZ_GC_UNREG(); do_set(command, scope); vim_free(command); - update_screen(NOT_VALID); + update_screen(UPD_NOT_VALID); curbuf = save_curb; curwin = save_curw; raise_if_error(); @@ -2106,7 +2106,7 @@ set_cursor(void *data, int argc, Scheme_ win->win->w_cursor.lnum = lnum; win->win->w_cursor.col = col; win->win->w_set_curswant = TRUE; - update_screen(VALID); + update_screen(UPD_VALID); raise_if_error(); return scheme_void; @@ -2781,7 +2781,7 @@ insert_buffer_line_list(void *data, int } curbuf = savebuf; - update_screen(VALID); + update_screen(UPD_VALID); MZ_GC_UNREG(); raise_if_error(); @@ -2841,7 +2841,7 @@ insert_buffer_line_list(void *data, int free_array(array); MZ_GC_UNREG(); curbuf = savebuf; - update_screen(VALID); + update_screen(UPD_VALID); } MZ_GC_UNREG();