diff options
author | Kim F. Storm <[email protected]> | 2004-04-27 08:48:12 +0000 |
---|---|---|
committer | Kim F. Storm <[email protected]> | 2004-04-27 08:48:12 +0000 |
commit | c4c07982c1a6b3ddd9339ecdb9af1876f70d8792 (patch) | |
tree | df313b4b1818429742a6ba0ea14730d315a86c3d /src | |
parent | 07dc12319ce94d59b5cef451fd6f1f21f6240650 (diff) |
(x_produce_glyphs): Fix last change; handle newline in
header line strings.
Diffstat (limited to 'src')
-rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 4993ae12fb..2ef3722c08 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)) |