use XftChar8 instead of FcChar8

This commit is contained in:
Julien Danjou 2007-10-15 21:42:49 +02:00
parent 9d48aaac1f
commit 866a75e76a
1 changed files with 1 additions and 1 deletions

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