summaryrefslogtreecommitdiffstats
path: root/src/gui_w48.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-25 20:42:36 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-25 20:42:36 +0000
commit027436338b4b3e746ae5087b8a01c7404619d97b (patch)
treebd958bdd54dfad7073d368c34fc8cdcf863df9af /src/gui_w48.c
parentc013cb66a6f2403e90a43203e4059b4bb531a8e8 (diff)
updated for version 7.0116
Diffstat (limited to 'src/gui_w48.c')
-rw-r--r--src/gui_w48.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/gui_w48.c b/src/gui_w48.c
index 9a0247f4da..5649aeb18c 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;