From: Richard M. Stallman Date: Fri, 7 Apr 1995 18:33:16 +0000 (+0000) Subject: (dumpglyphs): Cast FACE_DEFAULT to (XFontStruct *) X-Git-Tag: emacs-19.34~4599 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=16f60add1c50115122f3e080664c9ac297d3d934;p=emacs.git (dumpglyphs): Cast FACE_DEFAULT to (XFontStruct *) for comparison with face->font. --- diff --git a/src/xterm.c b/src/xterm.c index 2eec0b4ddaa..b44fd9b41e6 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -555,7 +555,7 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground) 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 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground) } } - if ((int) font == FACE_DEFAULT) + if (font == (XFontStruct *) FACE_DEFAULT) font = f->display.x->font; if (just_foreground)