summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b9405b15420..6f59c9469e5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-11 Eli Zaretskii <eliz@gnu.org>
+
+ * xdisp.c (produce_stretch_glyph): Fix a typo made in changes from
+ 2011-08-30T17:32:44Z!eliz@gnu.org. (Bug#9475)
+
2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
* fileio.c (Fvisited_file_modtime): Document `(-1 65535)' as a
diff --git a/src/xdisp.c b/src/xdisp.c
index 4d6f7a81cd7..277658fd357 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -23251,6 +23251,7 @@ produce_stretch_glyph (struct it *it)
if (FRAME_WINDOW_P (it->f))
{
append_stretch_glyph (it, object, width, height, ascent);
+ it->pixel_width = width;
it->ascent = it->phys_ascent = ascent;
it->descent = it->phys_descent = height - it->ascent;
it->nglyphs = width > 0 && height > 0 ? 1 : 0;
@@ -23265,7 +23266,6 @@ produce_stretch_glyph (struct it *it)
while (n--)
tty_append_glyph (it);
it->object = o_object;
- it->pixel_width = width;
}
}
}