changeset 92387:41d029d73eac

(line_draw_cost): Fix invalid glyph check.
author Kim F. Storm <storm@cua.dk>
date Sat, 01 Mar 2008 20:57:46 +0000
parents f84562a68d15
children 9e5010f3f5a9
files src/dispnew.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Sat Mar 01 20:57:25 2008 +0000
+++ b/src/dispnew.c	Sat Mar 01 20:57:46 2008 +0000
@@ -1472,7 +1472,7 @@
 
 	  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