changeset 11238:747eeabdbbcb

(intern_face): Cast FONT_DEFAULT to (XFontStruct *) for comparison with face->font.
author Richard M. Stallman <rms@gnu.org>
date Fri, 07 Apr 1995 03:59:57 +0000
parents 7c968b691ff0
children 38aef18e8e3d
files src/xfaces.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Fri Apr 07 03:39:07 1995 +0000
+++ b/src/xfaces.c	Fri Apr 07 03:59:57 1995 +0000
@@ -238,7 +238,7 @@
   else
     xgcv.background = f->display.x->background_pixel;
 
-  if (face->font && (int) face->font != FACE_DEFAULT)
+  if (face->font && face->font != (XFontStruct *) FACE_DEFAULT)
     xgcv.font = face->font->fid;
   else
     xgcv.font = f->display.x->font->fid;