aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2011-09-11 20:40:53 +0300
committerEli Zaretskii <[email protected]>2011-09-11 20:40:53 +0300
commitd562d7a44cf4abe2ea23ee6fc2982a1e41bc27fb (patch)
tree37d641703ca3fbec3d3ca67ac6e2d7e476031d5c /src
parent10195bd66d5e64c7df1db1d961bddcf7f4f618e3 (diff)
Fix bug #9475 with alignment in *Completions* buffer.
src/xdisp.c (produce_stretch_glyph): Fix a typo made in changes from 2011-08-30T17:32:[email protected].
Diffstat (limited to 'src')
-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 b9405b1542..6f59c9469e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-11 Eli Zaretskii <[email protected]>
+
+ * xdisp.c (produce_stretch_glyph): Fix a typo made in changes from
+ 2011-08-30T17:32:[email protected]. (Bug#9475)
+
2011-09-11 Lars Magne Ingebrigtsen <[email protected]>
* fileio.c (Fvisited_file_modtime): Document `(-1 65535)' as a
diff --git a/src/xdisp.c b/src/xdisp.c
index 4d6f7a81cd..277658fd35 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;
}
}
}