summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tabbed.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tabbed.c b/tabbed.c
index 4baec0e..6aa98e4 100644
--- a/tabbed.c
+++ b/tabbed.c
@@ -487,11 +487,9 @@ initfont(const char *fontstr) {
XFreeStringList(missing);
}
if(dc.font.set) {
- XFontSetExtents *font_extents;
XFontStruct **xfonts;
char **font_names;
dc.font.ascent = dc.font.descent = 0;
- font_extents = XExtentsOfFontSet(dc.font.set);
n = XFontsOfFontSet(dc.font.set, &xfonts, &font_names);
for(i = 0, dc.font.ascent = 0, dc.font.descent = 0; i < n; i++) {
dc.font.ascent = MAX(dc.font.ascent, (*xfonts)->ascent);