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().
diff --git a/src/if_ruby.c b/src/if_ruby.c
index 68c1e59..3a92fa8 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -988,7 +988,7 @@
}
}
check_cursor();
- update_curbuf(NOT_VALID);
+ update_curbuf(UPD_NOT_VALID);
}
}
@@ -1195,7 +1195,7 @@
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 @@
aucmd_restbuf(&aco);
// Careful: autocommands may have made "buf" invalid!
- update_curbuf(NOT_VALID);
+ update_curbuf(UPD_NOT_VALID);
}
else
{
@@ -1538,7 +1538,7 @@
aucmd_restbuf(&aco);
// Careful: autocommands may have made "buf" invalid!
- update_curbuf(NOT_VALID);
+ update_curbuf(UPD_NOT_VALID);
}
else
{
@@ -1579,7 +1579,7 @@
aucmd_restbuf(&aco);
// Careful: autocommands may have made "buf" invalid!
- update_curbuf(NOT_VALID);
+ update_curbuf(UPD_NOT_VALID);
}
else
{
@@ -1774,7 +1774,7 @@
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;
}