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_ruby.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_ruby.c')
-rw-r--r-- | src/if_ruby.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c index 68c1e591ac..3a92fa8cf9 100644 --- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -988,7 +988,7 @@ ex_rubydo(exarg_T *eap) } } check_cursor(); - update_curbuf(NOT_VALID); + update_curbuf(UPD_NOT_VALID); } } @@ -1195,7 +1195,7 @@ vim_message(VALUE self UNUSED, VALUE str) vim_set_option(VALUE self UNUSED, VALUE str) { do_set((char_u *)StringValuePtr(str), 0); - update_screen(NOT_VALID); + update_screen(UPD_NOT_VALID); return Qnil; } @@ -1492,7 +1492,7 @@ set_buffer_line(buf_T *buf, linenr_T n, VALUE str) aucmd_restbuf(&aco); // Careful: autocommands may have made "buf" invalid! - update_curbuf(NOT_VALID); + update_curbuf(UPD_NOT_VALID); } else { @@ -1538,7 +1538,7 @@ buffer_delete(VALUE self, VALUE num) aucmd_restbuf(&aco); // Careful: autocommands may have made "buf" invalid! - update_curbuf(NOT_VALID); + update_curbuf(UPD_NOT_VALID); } else { @@ -1579,7 +1579,7 @@ buffer_append(VALUE self, VALUE num, VALUE str) aucmd_restbuf(&aco); // Careful: autocommands may have made "buf" invalid! - update_curbuf(NOT_VALID); + update_curbuf(UPD_NOT_VALID); } else { @@ -1774,7 +1774,7 @@ window_set_cursor(VALUE self, VALUE pos) win->w_cursor.col = NUM2UINT(col); win->w_set_curswant = TRUE; check_cursor(); // put cursor on an existing line - update_screen(NOT_VALID); + update_screen(UPD_NOT_VALID); return Qnil; } |