Commit 726950c4 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(GLYPH_EQUAL_P): Also compare pixel widths,

otherwise tabs of different size compare equal.
parent 4f895918
......@@ -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? */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment