Commit 34216706 authored by Richard M. Stallman's avatar Richard M. Stallman

(get_default_char_pixel_size): Use line_height field.

parent 39d1fe00
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment