use XftChar8 instead of FcChar8

This commit is contained in:
Julien Danjou 2007-10-15 21:42:49 +02:00
parent 9d48aaac1f
commit 866a75e76a

2
draw.c
View file

@ -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);
}