From: Mikael Magnusson Date: Sun, 13 Feb 2005 17:27:51 +0000 (+0000) Subject: remove a spurious identical ifdef diff decided to generate X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=7089a86006929ccbb8bed18eaae702cb04364058;p=chaz%2Fopenbox remove a spurious identical ifdef diff decided to generate --- diff --git a/render/font.c b/render/font.c index a9ecb156..b6e5026b 100644 --- a/render/font.c +++ b/render/font.c @@ -64,15 +64,9 @@ static void measure_font(RrFont *f) XGlyphInfo info; /* measure an elipses */ -#ifndef USE_PANGO - XftTextExtentsUtf8(RrDisplay(f->inst), f->xftfont, - (FcChar8*)ELIPSES, strlen(ELIPSES), &info); - f->elipses_length = (signed) info.xOff; -#else /* USE_PANGO */ XftTextExtentsUtf8(RrDisplay(f->inst), f->xftfont, (FcChar8*)ELIPSES, strlen(ELIPSES), &info); f->elipses_length = (signed) info.xOff; -#endif /* USE_PANGO */ } static RrFont *openfont(const RrInstance *inst, gchar *fontstring)