changeset 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 9be1670e9032
children 8fbcee1c2059
files src/widget.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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