]> git.eshelyaron.com Git - emacs.git/commitdiff
(get_default_char_pixel_size): Use line_height field.
authorRichard M. Stallman <rms@gnu.org>
Sat, 9 Apr 1994 06:32:48 +0000 (06:32 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 9 Apr 1994 06:32:48 +0000 (06:32 +0000)
src/widget.c

index 4f212c99673a5656f4daf650074d83ddcea3da70..de2ef27fc49f926a55ef1c108c5ff570d8880fb6 100644 (file)
@@ -169,7 +169,7 @@ get_default_char_pixel_size (ew, pixel_width, pixel_height)
 {
   struct frame* f = ew->emacs_frame.frame;
   *pixel_width = FONT_WIDTH (f->display.x->font);
-  *pixel_height = FONT_HEIGHT (f->display.x->font);
+  *pixel_height = f->display.x->line_height;
 }
 
 static void