From: Kim F. Storm Date: Tue, 27 Apr 2004 08:48:12 +0000 (+0000) Subject: (x_produce_glyphs): Fix last change; handle newline in X-Git-Tag: ttn-vms-21-2-B4~6563 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c4c07982c1a6b3ddd9339ecdb9af1876f70d8792;p=emacs.git (x_produce_glyphs): Fix last change; handle newline in header line strings. --- 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))