(CoreText) Buildfix
This commit is contained in:
parent
e5ac07f52f
commit
86410cc3b0
|
@ -264,7 +264,7 @@ static void *font_renderer_ct_init(const char *font_path, float font_size)
|
||||||
ct_font_renderer_t *handle = (ct_font_renderer_t*)
|
ct_font_renderer_t *handle = (ct_font_renderer_t*)
|
||||||
calloc(1, sizeof(*handle));
|
calloc(1, sizeof(*handle));
|
||||||
|
|
||||||
if (!handle || !string_is_valid(font_path))
|
if (!handle || !path_is_valid(font_path))
|
||||||
{
|
{
|
||||||
err = 1;
|
err = 1;
|
||||||
goto error;
|
goto error;
|
||||||
|
|
Loading…
Reference in New Issue