Mercurial > vim
comparison src/gui.c @ 519:d50452846776
updated for version 7.0145
author | vimboss |
---|---|
date | Sat, 10 Sep 2005 19:22:57 +0000 |
parents | 381caa3f6ea8 |
children | c1d5993c7d9f |
comparison
equal
deleted
inserted
replaced
518:100bdadd7667 | 519:d50452846776 |
---|---|
3859 #ifdef FEAT_SCROLLBIND | 3859 #ifdef FEAT_SCROLLBIND |
3860 wp->w_scbind_pos = wp->w_topline; | 3860 wp->w_scbind_pos = wp->w_topline; |
3861 #endif | 3861 #endif |
3862 } | 3862 } |
3863 | 3863 |
3864 /* Make sure wp->w_leftcol and wp->w_skipcol are correct. */ | |
3865 validate_cursor(); | |
3866 | |
3864 curwin = save_wp; | 3867 curwin = save_wp; |
3865 curbuf = save_wp->w_buffer; | 3868 curbuf = save_wp->w_buffer; |
3866 | 3869 |
3867 /* | 3870 /* |
3868 * Don't call updateWindow() when nothing has changed (it will overwrite | 3871 * Don't call updateWindow() when nothing has changed (it will overwrite |
3869 * the status line!). | 3872 * the status line!). |
3870 */ | 3873 */ |
3871 if (old_topline != wp->w_topline | 3874 if (old_topline != wp->w_topline |
3875 || wp->w_redr_type != 0 | |
3872 #ifdef FEAT_DIFF | 3876 #ifdef FEAT_DIFF |
3873 || old_topfill != wp->w_topfill | 3877 || old_topfill != wp->w_topfill |
3874 #endif | 3878 #endif |
3875 ) | 3879 ) |
3876 { | 3880 { |