changeset 55183:b4f51693f2db

(x_produce_glyphs): Fix last change; handle newline in header line strings.
author Kim F. Storm <storm@cua.dk>
date Tue, 27 Apr 2004 08:48:12 +0000
parents bd90e5660360
children 9e01303c94ac 1a68e4b22355
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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))