mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-12 12:19:10 +00:00
FcNameParse() manpage lies, cast here.
found with pcc. ok oga@
This commit is contained in:
@@ -68,7 +68,7 @@ font_make(struct screen_ctx *sc, const char *name)
|
|||||||
FcPattern *pat, *patx;
|
FcPattern *pat, *patx;
|
||||||
XftResult res;
|
XftResult res;
|
||||||
|
|
||||||
if ((pat = FcNameParse(name)) == NULL)
|
if ((pat = FcNameParse((FcChar8*)name)) == NULL)
|
||||||
return (NULL);
|
return (NULL);
|
||||||
|
|
||||||
if ((patx = XftFontMatch(X_Dpy, sc->which, pat, &res)) != NULL)
|
if ((patx = XftFontMatch(X_Dpy, sc->which, pat, &res)) != NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user