Fix bug #9475 with alignment in *Completions* buffer.
authorEli Zaretskii <eliz@gnu.org>
Sun, 11 Sep 2011 17:40:53 +0000 (20:40 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 11 Sep 2011 17:40:53 +0000 (20:40 +0300)
 src/xdisp.c (produce_stretch_glyph): Fix a typo made in changes from
 2011-08-30T17:32:44Z!eliz@gnu.org.

src/ChangeLog
src/xdisp.c

index b9405b1..6f59c94 100644 (file)
@@ -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
index 4d6f7a8..277658f 100644 (file)
@@ -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;
        }
     }
 }