summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/globals.h b/src/globals.h
index 881d3e4..452cf0d 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -30,8 +30,8 @@
#ifdef USE_XFT_FONT
#include <X11/Xft/Xft.h>
-#define FONT_HEIGHT(s) ((s)->ft_font->ascent + (s)->ft_font->descent)
-#define FONT_ASCENT(s) ((s)->ft_font->ascent)
+#define FONT_HEIGHT(s) ((s)->xft_font->ascent + (s)->xft_font->descent)
+#define FONT_ASCENT(s) ((s)->xft_font->ascent)
#else