From 866a75e76a2705ccd7ba4754c764195ac3bf8ba3 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 15 Oct 2007 21:42:49 +0200 Subject: [PATCH] use XftChar8 instead of FcChar8 --- draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draw.c b/draw.c index 7f75880dc..f03831528 100644 --- a/draw.c +++ b/draw.c @@ -65,7 +65,7 @@ drawtext(Display *disp, int screen, int x, int y, int w, int h, Drawable drawabl XftDrawStringUtf8(xftdrawable, &xftcolor, font, x + (font->height / 2), y + (h / 2) - (font->height / 2) + font->ascent, - (FcChar8 *) buf, len); + (XftChar8 *) buf, len); XftColorFree(disp, DefaultVisual(disp, screen), DefaultColormap(disp, screen), &xftcolor); XftDrawDestroy(xftdrawable); }