]> Dogcows Code - chaz/openbox/commitdiff
remove a spurious identical ifdef diff decided to generate
authorMikael Magnusson <mikachu@comhem.se>
Sun, 13 Feb 2005 17:27:51 +0000 (17:27 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Sun, 13 Feb 2005 17:27:51 +0000 (17:27 +0000)
render/font.c

index a9ecb1562a595e832ef15892f03987426aed5261..b6e5026b2239731285e8ad6d1788ab664e3e32a1 100644 (file)
@@ -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)
This page took 0.024761 seconds and 4 git commands to generate.