diff options
author | Kim F. Storm <storm@cua.dk> | 2008-03-01 20:57:46 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2008-03-01 20:57:46 +0000 |
commit | 565b39a8569153267d5a837bf9744aac925ca15d (patch) | |
tree | 9f9bc2a4acb3c7cfca2d895ee9b9b57fd36652a8 /src/dispnew.c | |
parent | 3f4e9c35d0408310ad0c35fe02dc56274195b2e4 (diff) | |
download | emacs-565b39a8569153267d5a837bf9744aac925ca15d.tar.gz |
(line_draw_cost): Fix invalid glyph check.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r-- | src/dispnew.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 122f77c2962..096bca9d460 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -1472,7 +1472,7 @@ line_draw_cost (matrix, vpos) SET_GLYPH_FROM_CHAR_GLYPH (g, *beg); - if (GLYPH_INVALID_P (g) < 0 + if (GLYPH_INVALID_P (g) || GLYPH_SIMPLE_P (glyph_table_base, glyph_table_len, g)) len += 1; else |