remove a spurious identical ifdef diff decided to generate
This commit is contained in:
parent
558ea325dd
commit
7089a86006
1 changed files with 0 additions and 6 deletions
|
@ -64,15 +64,9 @@ static void measure_font(RrFont *f)
|
||||||
XGlyphInfo info;
|
XGlyphInfo info;
|
||||||
|
|
||||||
/* measure an elipses */
|
/* measure an elipses */
|
||||||
#ifndef USE_PANGO
|
|
||||||
XftTextExtentsUtf8(RrDisplay(f->inst), f->xftfont,
|
XftTextExtentsUtf8(RrDisplay(f->inst), f->xftfont,
|
||||||
(FcChar8*)ELIPSES, strlen(ELIPSES), &info);
|
(FcChar8*)ELIPSES, strlen(ELIPSES), &info);
|
||||||
f->elipses_length = (signed) info.xOff;
|
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)
|
static RrFont *openfont(const RrInstance *inst, gchar *fontstring)
|
||||||
|
|
Loading…
Reference in a new issue