comparison src/gui.c @ 1695:0dbc46d14443 v7.2b.028

updated for version 7.2b-028
author vimboss
date Wed, 06 Aug 2008 12:37:44 +0000
parents 0b796e045c42
children f10fe14748e2
comparison
equal deleted inserted replaced
1694:3c6417b7e6ef 1695:0dbc46d14443
899 guicolor_T cfg, cbg, cc; /* cursor fore-/background color */ 899 guicolor_T cfg, cbg, cc; /* cursor fore-/background color */
900 int cattr; /* cursor attributes */ 900 int cattr; /* cursor attributes */
901 int attr; 901 int attr;
902 attrentry_T *aep = NULL; 902 attrentry_T *aep = NULL;
903 903
904 /* Don't update the cursor when halfway busy scrolling. 904 /* Don't update the cursor when halfway busy scrolling or the screen size
905 * ScreenLines[] isn't valid then. */ 905 * doesn't match 'columns' and 'lines. ScreenLines[] isn't valid then. */
906 if (!can_update_cursor) 906 if (!can_update_cursor || screen_Columns != gui.num_cols
907 || screen_Rows != gui.num_rows)
907 return; 908 return;
908 909
909 gui_check_pos(); 910 gui_check_pos();
910 if (!gui.cursor_is_valid || force 911 if (!gui.cursor_is_valid || force
911 || gui.row != gui.cursor_row || gui.col != gui.cursor_col) 912 || gui.row != gui.cursor_row || gui.col != gui.cursor_col)