aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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