Mercurial > vim
comparison src/gui.c @ 1529:4353593fc2c0 v7.1.244
updated for version 7.1-244
author | vimboss |
---|---|
date | Wed, 06 Feb 2008 16:33:58 +0000 |
parents | cc4fe241baa3 |
children | 7387540b6e52 |
comparison
equal
deleted
inserted
replaced
1528:e212d1a40ca9 | 1529:4353593fc2c0 |
---|---|
1292 | 1292 |
1293 /* Flush pending output before redrawing */ | 1293 /* Flush pending output before redrawing */ |
1294 out_flush(); | 1294 out_flush(); |
1295 | 1295 |
1296 gui.num_cols = (pixel_width - gui_get_base_width()) / gui.char_width; | 1296 gui.num_cols = (pixel_width - gui_get_base_width()) / gui.char_width; |
1297 gui.num_rows = (pixel_height - gui_get_base_height() | 1297 gui.num_rows = (pixel_height - gui_get_base_height()) / gui.char_height; |
1298 #if !defined(FEAT_GUI_PHOTON) && !defined(FEAT_GUI_MSWIN) | |
1299 + (gui.char_height / 2) | |
1300 #endif | |
1301 ) / gui.char_height; | |
1302 | 1298 |
1303 gui_position_components(pixel_width); | 1299 gui_position_components(pixel_width); |
1304 | 1300 |
1305 gui_reset_scroll_region(); | 1301 gui_reset_scroll_region(); |
1306 /* | 1302 /* |