changeset 94929:b9ffe341b5c8

(internal_equal): Handle PREV_FONT.
author Kenichi Handa <handa@m17n.org>
date Wed, 14 May 2008 01:27:09 +0000
parents a9ee82808208
children aa7f14981acf
files src/fns.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/fns.c	Wed May 14 01:26:46 2008 +0000
+++ b/src/fns.c	Wed May 14 01:27:09 2008 +0000
@@ -2207,12 +2207,13 @@
 	if (WINDOW_CONFIGURATIONP (o1))
 	  return compare_window_configurations (o1, o2, 0);
 
-	/* Aside from them, only true vectors, char-tables, and compiled
-	   functions are sensible to compare, so eliminate the others now.  */
+	/* Aside from them, only true vectors, char-tables, compiled
+	   functions, and fonts (font-spec, font-entity, font-ojbect)
+	   are sensible to compare, so eliminate the others now.  */
 	if (size & PSEUDOVECTOR_FLAG)
 	  {
 	    if (!(size & (PVEC_COMPILED
-			  | PVEC_CHAR_TABLE | PVEC_SUB_CHAR_TABLE)))
+			  | PVEC_CHAR_TABLE | PVEC_SUB_CHAR_TABLE | PVEC_FONT)))
 	      return 0;
 	    size &= PSEUDOVECTOR_SIZE_MASK;
 	  }