diff src/widget.c @ 6766:492ff2e2ddb7

(get_default_char_pixel_size): Use line_height field.
author Richard M. Stallman <rms@gnu.org>
date Sat, 09 Apr 1994 06:32:48 +0000
parents 1a11d0ceb11b
children 67bb36e8e602
line wrap: on
line diff
--- a/src/widget.c	Sat Apr 09 06:32:32 1994 +0000
+++ b/src/widget.c	Sat Apr 09 06:32:48 1994 +0000
@@ -169,7 +169,7 @@
 {
   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