aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm <[email protected]>2008-03-01 20:57:46 +0000
committerKim F. Storm <[email protected]>2008-03-01 20:57:46 +0000
commit565b39a8569153267d5a837bf9744aac925ca15d (patch)
tree9f9bc2a4acb3c7cfca2d895ee9b9b57fd36652a8 /src
parent3f4e9c35d0408310ad0c35fe02dc56274195b2e4 (diff)
(line_draw_cost): Fix invalid glyph check.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 122f77c296..096bca9d46 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