From: Gerd Moellmann Date: Thu, 21 Dec 2000 20:40:58 +0000 (+0000) Subject: (GLYPH_EQUAL_P): Also compare pixel widths, X-Git-Tag: emacs-pretest-21.0.95~332 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=726950c4dcf535cfc8d54936378a8bf25e6fe40f;p=emacs.git (GLYPH_EQUAL_P): Also compare pixel widths, otherwise tabs of different size compare equal. --- diff --git a/src/dispextern.h b/src/dispextern.h index 257998ccfc1..57091aab4f4 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -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? */