summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2008-03-01 20:57:46 +0000
committerKim F. Storm <storm@cua.dk>2008-03-01 20:57:46 +0000
commit565b39a8569153267d5a837bf9744aac925ca15d (patch)
tree9f9bc2a4acb3c7cfca2d895ee9b9b57fd36652a8 /src/dispnew.c
parent3f4e9c35d0408310ad0c35fe02dc56274195b2e4 (diff)
downloademacs-565b39a8569153267d5a837bf9744aac925ca15d.tar.gz
(line_draw_cost): Fix invalid glyph check.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c2
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