gdi32: Extract the constituent TrueType files from Mac suitcase
fonts into the user's caches directory and use these instead
of the original suitcase.
Alexandre Julliard
julliard at winehq.org
Thu Dec 21 05:20:31 CST 2006
Huw Davies <huw at codeweavers.com> writes:
> + ret = malloc(sizeof(*ret));
> + if(!ret)
> + {
> + CloseResFile(res_ref);
> + return NULL;
> + }
> + list_init(ret);
It's better to avoid using malloc() in Wine. Also it seems to me it
would be cleaner to return an array of char*, instead of a struct list
that forces the caller to make assumptions about the type of the list
elements.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list