diff options
Diffstat (limited to 'src/xftcore.c')
-rw-r--r-- | src/xftcore.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/xftcore.c b/src/xftcore.c index 5c0009d..25e78b7 100644 --- a/src/xftcore.c +++ b/src/xftcore.c @@ -1,5 +1,5 @@ /* - * $XFree86: xc/lib/Xft/xftcore.c,v 1.13 2003/02/15 22:30:51 dawes Exp $ + * $XFree86: xc/lib/Xft/xftcore.c,v 1.14 2003/05/27 22:26:40 tsi Exp $ * * Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc. * @@ -918,10 +918,8 @@ _XftGlyphDefault (Display *dpy, XftFont *public) XftFontInt *font = (XftFontInt *) public; FT_UInt missing[XFT_NMISSING]; int nmissing; - FcBool glyphs_loaded = FcFalse; - if (XftFontCheckGlyph (dpy, public, FcTrue, 0, missing, &nmissing)) - glyphs_loaded = FcTrue; + XftFontCheckGlyph (dpy, public, FcTrue, 0, missing, &nmissing); if (nmissing) XftFontLoadGlyphs (dpy, public, FcTrue, missing, nmissing); return font->glyphs[0]; |