aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2011-09-11 20:40:53 +0300
committerEli Zaretskii2011-09-11 20:40:53 +0300
commitd562d7a44cf4abe2ea23ee6fc2982a1e41bc27fb (patch)
tree37d641703ca3fbec3d3ca67ac6e2d7e476031d5c
parent10195bd66d5e64c7df1db1d961bddcf7f4f618e3 (diff)
downloademacs-d562d7a44cf4abe2ea23ee6fc2982a1e41bc27fb.tar.gz
emacs-d562d7a44cf4abe2ea23ee6fc2982a1e41bc27fb.zip
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:44Z!eliz@gnu.org.
-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 @@
12011-09-11 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (produce_stretch_glyph): Fix a typo made in changes from
4 2011-08-30T17:32:44Z!eliz@gnu.org. (Bug#9475)
5
12011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org> 62011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 7
3 * fileio.c (Fvisited_file_modtime): Document `(-1 65535)' as a 8 * 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)
23251 if (FRAME_WINDOW_P (it->f)) 23251 if (FRAME_WINDOW_P (it->f))
23252 { 23252 {
23253 append_stretch_glyph (it, object, width, height, ascent); 23253 append_stretch_glyph (it, object, width, height, ascent);
23254 it->pixel_width = width;
23254 it->ascent = it->phys_ascent = ascent; 23255 it->ascent = it->phys_ascent = ascent;
23255 it->descent = it->phys_descent = height - it->ascent; 23256 it->descent = it->phys_descent = height - it->ascent;
23256 it->nglyphs = width > 0 && height > 0 ? 1 : 0; 23257 it->nglyphs = width > 0 && height > 0 ? 1 : 0;
@@ -23265,7 +23266,6 @@ produce_stretch_glyph (struct it *it)
23265 while (n--) 23266 while (n--)
23266 tty_append_glyph (it); 23267 tty_append_glyph (it);
23267 it->object = o_object; 23268 it->object = o_object;
23268 it->pixel_width = width;
23269 } 23269 }
23270 } 23270 }
23271} 23271}