diff options
| author | Richard M. Stallman | 1995-04-07 18:33:16 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-04-07 18:33:16 +0000 |
| commit | 16f60add1c50115122f3e080664c9ac297d3d934 (patch) | |
| tree | 3e42658f6c383ce1985bad0cb17df85e441fd53b /src | |
| parent | 5141799643c99c62db10db56580697c7a1c3f48c (diff) | |
| download | emacs-16f60add1c50115122f3e080664c9ac297d3d934.tar.gz emacs-16f60add1c50115122f3e080664c9ac297d3d934.zip | |
(dumpglyphs): Cast FACE_DEFAULT to (XFontStruct *)
for comparison with face->font.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 4 |
1 files 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) | |||
| 555 | stippled = 0; | 555 | stippled = 0; |
| 556 | 556 | ||
| 557 | if ((!face->font | 557 | if ((!face->font |
| 558 | || (int) face->font == FACE_DEFAULT | 558 | || face->font == (XFontStruct *) FACE_DEFAULT |
| 559 | || face->font == f->display.x->font) | 559 | || face->font == f->display.x->font) |
| 560 | && face->background == f->display.x->background_pixel | 560 | && face->background == f->display.x->background_pixel |
| 561 | && face->foreground == f->display.x->foreground_pixel) | 561 | && face->foreground == f->display.x->foreground_pixel) |
| @@ -605,7 +605,7 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground) | |||
| 605 | } | 605 | } |
| 606 | } | 606 | } |
| 607 | 607 | ||
| 608 | if ((int) font == FACE_DEFAULT) | 608 | if (font == (XFontStruct *) FACE_DEFAULT) |
| 609 | font = f->display.x->font; | 609 | font = f->display.x->font; |
| 610 | 610 | ||
| 611 | if (just_foreground) | 611 | if (just_foreground) |