diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-07-25 20:42:36 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-07-25 20:42:36 +0000 |
commit | 027436338b4b3e746ae5087b8a01c7404619d97b (patch) | |
tree | bd958bdd54dfad7073d368c34fc8cdcf863df9af /src/gui_w48.c | |
parent | c013cb66a6f2403e90a43203e4059b4bb531a8e8 (diff) | |
download | vim-git-027436338b4b3e746ae5087b8a01c7404619d97b.tar.gz |
updated for version 7.0116
Diffstat (limited to 'src/gui_w48.c')
-rw-r--r-- | src/gui_w48.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/gui_w48.c b/src/gui_w48.c index 9a0247f4d..5649aeb18 100644 --- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -1113,7 +1113,6 @@ gui_mch_set_text_area_pos(int x, int y, int w, int h) oldx = x; oldy = y; } - } @@ -1141,7 +1140,8 @@ gui_mch_set_scrollbar_pos( int w, int h) { - SetWindowPos(sb->id, NULL, x, y, w, h, SWP_NOZORDER | SWP_NOACTIVATE | SWP_SHOWWINDOW); + SetWindowPos(sb->id, NULL, x, y, w, h, + SWP_NOZORDER | SWP_NOACTIVATE | SWP_SHOWWINDOW); } void @@ -1194,17 +1194,20 @@ GetFontSize(GuiFont font) gui.char_height = tm.tmHeight #ifndef MSWIN16_FASTTEXT - + p_linespace + + p_linespace #endif - ; + ; SelectFont(hdc, hfntOld); ReleaseDC(hwnd, hdc); } +/* + * Adjust gui.char_height (after 'linespace' was changed). + */ int -gui_mch_adjust_charsize(void) +gui_mch_adjust_charheight(void) { GetFontSize(gui.norm_font); return OK; |