From c4c07982c1a6b3ddd9339ecdb9af1876f70d8792 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Tue, 27 Apr 2004 08:48:12 +0000 Subject: [PATCH] (x_produce_glyphs): Fix last change; handle newline in header line strings. --- src/xdisp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 4993ae12fb9..2ef3722c080 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -18708,7 +18708,7 @@ x_produce_glyphs (it) it->pixel_width = 0; it->nglyphs = 0; - lh = Fget_text_property (IT_CHARPOS (*it), Qline_height, it->w->buffer); + lh = Fget_text_property (IT_CHARPOS (*it), Qline_height, it->object); if (EQ (lh, Qt)) { @@ -18760,7 +18760,7 @@ x_produce_glyphs (it) it->ascent = explicit_height - it->descent; } - lsp = Fget_text_property (IT_CHARPOS (*it), Qline_spacing, it->w->buffer); + lsp = Fget_text_property (IT_CHARPOS (*it), Qline_spacing, it->object); if (INTEGERP (lsp)) extra_line_spacing = XINT (lsp); else if (FLOATP (lsp)) -- 2.39.5