From 34216706230adf5b5d979f15b3716b53132a4775 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 9 Apr 1994 06:32:48 +0000 Subject: [PATCH] (get_default_char_pixel_size): Use line_height field. --- src/widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget.c b/src/widget.c index 4f212c99673..de2ef27fc49 100644 --- a/src/widget.c +++ b/src/widget.c @@ -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 -- 2.39.5