]> git.eshelyaron.com Git - emacs.git/commitdiff
(GLYPH_EQUAL_P): Also compare pixel widths,
authorGerd Moellmann <gerd@gnu.org>
Thu, 21 Dec 2000 20:40:58 +0000 (20:40 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 21 Dec 2000 20:40:58 +0000 (20:40 +0000)
otherwise tabs of different size compare equal.

src/dispextern.h

index 257998ccfc15eb4c3572796724aac033f83b7ca7..57091aab4f4ee0f805c018db1a0ed9c13717f365 100644 (file)
@@ -339,7 +339,8 @@ struct glyph
       && (X)->padding_p == (Y)->padding_p                      \
       && (X)->left_box_line_p == (Y)->left_box_line_p          \
       && (X)->right_box_line_p == (Y)->right_box_line_p                \
-      && (X)->voffset == (Y)->voffset)
+      && (X)->voffset == (Y)->voffset                          \
+      && (X)->pixel_width == (Y)->pixel_width)
 
 /* Are character codes, faces, padding_ps of glyphs *X and *Y equal?  */