From 16f60add1c50115122f3e080664c9ac297d3d934 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 7 Apr 1995 18:33:16 +0000 Subject: [PATCH] (dumpglyphs): Cast FACE_DEFAULT to (XFontStruct *) for comparison with face->font. --- src/xterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5