diff src/gui_w48.c @ 444:d0d15b184c56

updated for version 7.0116
author vimboss
date Mon, 25 Jul 2005 20:42:36 +0000
parents 8f41fe56e2fc
children 52e76e2b5b65
line wrap: on
line diff
--- a/src/gui_w48.c
+++ b/src/gui_w48.c
@@ -1113,7 +1113,6 @@ gui_mch_set_text_area_pos(int x, int y, 
 	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;