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_py_both.h | |
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/if_py_both.h')
-rw-r--r-- | src/if_py_both.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h index 240cc966a..b7276c53d 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -697,7 +697,7 @@ VimCommand(PyObject *self UNUSED, PyObject *string) VimTryStart(); do_cmdline_cmd(cmd); - update_screen(VALID); + update_screen(UPD_VALID); Python_Release_Vim(); Py_END_ALLOW_THREADS @@ -4067,7 +4067,7 @@ WindowSetattr(WindowObject *self, char *name, PyObject *valObject) // When column is out of range silently correct it. check_cursor_col_win(self->win); - update_screen(VALID); + update_screen(UPD_VALID); return 0; } else if (strcmp(name, "height") == 0) @@ -4745,7 +4745,7 @@ InsertBufferLines(buf_T *buf, PyInt n, PyObject *lines, PyInt *len_change) vim_free(str); restore_win_for_buf(&switchwin, &save_curbuf); - update_screen(VALID); + update_screen(UPD_VALID); if (VimTryEnd()) return FAIL; @@ -4816,7 +4816,7 @@ InsertBufferLines(buf_T *buf, PyInt n, PyObject *lines, PyInt *len_change) PyMem_Free(array); restore_win_for_buf(&switchwin, &save_curbuf); - update_screen(VALID); + update_screen(UPD_VALID); if (VimTryEnd()) return FAIL; @@ -5825,7 +5825,7 @@ out: if (status) return; check_cursor(); - update_curbuf(NOT_VALID); + update_curbuf(UPD_NOT_VALID); } static void |