Skip to content

Instantly share code, notes, and snippets.

@wincent
Created November 3, 2010 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wincent/661327 to your computer and use it in GitHub Desktop.
Save wincent/661327 to your computer and use it in GitHub Desktop.
diff --git a/src/window.c b/src/window.c
index abd107b..c3936df 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5561,7 +5561,7 @@ win_new_height(wp, height)
win_comp_scroll(wp);
#ifdef FEAT_GUI_MACVIM
/* The view may have moved, so clear all or display may get corrupted. */
- redraw_win_later(wp, CLEAR);
+ redraw_win_later(wp, NOT_VALID);
#else
redraw_win_later(wp, SOME_VALID);
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment