changeset 11259:81f5d9eb1484

(dumpglyphs): Cast FACE_DEFAULT to (XFontStruct *) for comparison with face->font.
author Richard M. Stallman <rms@gnu.org>
date Fri, 07 Apr 1995 18:33:16 +0000
parents eff46f465625
children a79e057e1d69
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Apr 07 18:26:02 1995 +0000
+++ b/src/xterm.c	Fri Apr 07 18:33:16 1995 +0000
@@ -555,7 +555,7 @@
 	    stippled = 0;
 
 	    if ((!face->font
-		 || (int) face->font == FACE_DEFAULT
+		 || face->font == (XFontStruct *) FACE_DEFAULT
 		 || face->font == f->display.x->font)
 		&& face->background == f->display.x->background_pixel
 		&& face->foreground == f->display.x->foreground_pixel)
@@ -605,7 +605,7 @@
 	      }
 	  }
 
-	if ((int) font == FACE_DEFAULT)
+	if (font == (XFontStruct *) FACE_DEFAULT)
 	  font = f->display.x->font;
 
 	if (just_foreground)