Mercurial > vim
comparison src/window.c @ 1101:5d5a41a95347 v7.0.227
updated for version 7.0-227
author | vimboss |
---|---|
date | Thu, 26 Apr 2007 14:09:42 +0000 |
parents | 9a3b65713280 |
children | b04bb35fcd4b |
comparison
equal
deleted
inserted
replaced
1100:f927ca2cedb4 | 1101:5d5a41a95347 |
---|---|
2082 return; | 2082 return; |
2083 # endif | 2083 # endif |
2084 } | 2084 } |
2085 #endif | 2085 #endif |
2086 | 2086 |
2087 #ifdef FEAT_GUI | |
2088 /* Avoid trouble with scrollbars that are going to be deleted in | |
2089 * win_free(). */ | |
2090 if (gui.in_use) | |
2091 out_flush(); | |
2092 #endif | |
2093 | |
2087 /* | 2094 /* |
2088 * Close the link to the buffer. | 2095 * Close the link to the buffer. |
2089 */ | 2096 */ |
2090 close_buffer(win, win->w_buffer, free_buf ? DOBUF_UNLOAD : 0); | 2097 close_buffer(win, win->w_buffer, free_buf ? DOBUF_UNLOAD : 0); |
2091 | 2098 |
4172 #endif | 4179 #endif |
4173 | 4180 |
4174 #ifdef FEAT_GUI | 4181 #ifdef FEAT_GUI |
4175 if (gui.in_use) | 4182 if (gui.in_use) |
4176 { | 4183 { |
4177 out_flush(); | |
4178 gui_mch_destroy_scrollbar(&wp->w_scrollbars[SBAR_LEFT]); | 4184 gui_mch_destroy_scrollbar(&wp->w_scrollbars[SBAR_LEFT]); |
4179 gui_mch_destroy_scrollbar(&wp->w_scrollbars[SBAR_RIGHT]); | 4185 gui_mch_destroy_scrollbar(&wp->w_scrollbars[SBAR_RIGHT]); |
4180 } | 4186 } |
4181 #endif /* FEAT_GUI */ | 4187 #endif /* FEAT_GUI */ |
4182 | 4188 |