# HG changeset patch # User vimboss # Date 1218026264 0 # Node ID 0dbc46d14443418020e3868a08877a365ced11e1 # Parent 3c6417b7e6efed4cb13673383489efb47399a902 updated for version 7.2b-028 diff --git a/src/gui.c b/src/gui.c --- a/src/gui.c +++ b/src/gui.c @@ -901,9 +901,10 @@ gui_update_cursor(force, clear_selection int attr; attrentry_T *aep = NULL; - /* Don't update the cursor when halfway busy scrolling. - * ScreenLines[] isn't valid then. */ - if (!can_update_cursor) + /* Don't update the cursor when halfway busy scrolling or the screen size + * doesn't match 'columns' and 'lines. ScreenLines[] isn't valid then. */ + if (!can_update_cursor || screen_Columns != gui.num_cols + || screen_Rows != gui.num_rows) return; gui_check_pos(); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -677,6 +677,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 28, +/**/ 27, /**/ 26,