# HG changeset patch # User Kim F. Storm # Date 1083055692 0 # Node ID b4f51693f2db2303b75bf9a08fdbf739844b605d # Parent bd90e5660360fae8de2acffa600c06f7c2cf4d88 (x_produce_glyphs): Fix last change; handle newline in header line strings. diff -r bd90e5660360 -r b4f51693f2db src/xdisp.c --- a/src/xdisp.c Tue Apr 27 08:47:30 2004 +0000 +++ b/src/xdisp.c Tue Apr 27 08:48:12 2004 +0000 @@ -18708,7 +18708,7 @@ 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 @@ 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))