aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-21 20:40:58 +0000
committerGerd Moellmann2000-12-21 20:40:58 +0000
commit726950c4dcf535cfc8d54936378a8bf25e6fe40f (patch)
tree33f534798f667e243c01c42b37801c4f893ec12a /src
parent4f8959185a33b31ae2f2a4b182172d0d6f0a42c4 (diff)
downloademacs-726950c4dcf535cfc8d54936378a8bf25e6fe40f.tar.gz
emacs-726950c4dcf535cfc8d54936378a8bf25e6fe40f.zip
(GLYPH_EQUAL_P): Also compare pixel widths,
otherwise tabs of different size compare equal.
Diffstat (limited to 'src')
-rw-r--r--src/dispextern.h3
1 files changed, 2 insertions, 1 deletions
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
339 && (X)->padding_p == (Y)->padding_p \ 339 && (X)->padding_p == (Y)->padding_p \
340 && (X)->left_box_line_p == (Y)->left_box_line_p \ 340 && (X)->left_box_line_p == (Y)->left_box_line_p \
341 && (X)->right_box_line_p == (Y)->right_box_line_p \ 341 && (X)->right_box_line_p == (Y)->right_box_line_p \
342 && (X)->voffset == (Y)->voffset) 342 && (X)->voffset == (Y)->voffset \
343 && (X)->pixel_width == (Y)->pixel_width)
343 344
344/* Are character codes, faces, padding_ps of glyphs *X and *Y equal? */ 345/* Are character codes, faces, padding_ps of glyphs *X and *Y equal? */
345 346