aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 29b97abcb95..1fd84f8ade0 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -1762,7 +1762,7 @@ estimate_mode_line_height (struct frame *f, enum face_id face_id)
1762 if (face) 1762 if (face)
1763 { 1763 {
1764 if (face->font) 1764 if (face->font)
1765 height = FONT_HEIGHT (face->font); 1765 height = normal_char_height (face->font);
1766 if (face->box_line_width > 0) 1766 if (face->box_line_width > 0)
1767 height += 2 * face->box_line_width; 1767 height += 2 * face->box_line_width;
1768 } 1768 }
@@ -4889,7 +4889,7 @@ handle_single_display_spec (struct it *it, Lisp_Object spec, Lisp_Object object,
4889 { 4889 {
4890 struct face *face = FACE_FROM_ID (it->f, it->face_id); 4890 struct face *face = FACE_FROM_ID (it->f, it->face_id);
4891 it->voffset = - (XFLOATINT (value) 4891 it->voffset = - (XFLOATINT (value)
4892 * (FONT_HEIGHT (face->font))); 4892 * (normal_char_height (face->font)));
4893 } 4893 }
4894#endif /* HAVE_WINDOW_SYSTEM */ 4894#endif /* HAVE_WINDOW_SYSTEM */
4895 } 4895 }