summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index a90ccf2..3c05152 100644
--- a/src/main.c
+++ b/src/main.c
@@ -774,11 +774,11 @@ free_screen (rp_screen *s)
XDestroyWindow (dpy, s->help_window);
#ifdef USE_XFT_FONT
- if (s->ft_font)
+ if (s->xft_font)
{
XftColorFree (dpy, DefaultVisual (dpy, s->screen_num),
- DefaultColormap (dpy, s->screen_num), &s->color);
- XftFontClose (dpy, s->ft_font);
+ DefaultColormap (dpy, s->screen_num), &s->xft_color);
+ XftFontClose (dpy, s->xft_font);
}
#endif