[1/3] winemenubuilder: use windowscodecs for some ICO to PNG conversion

Alexandre Julliard julliard at winehq.org
Tue Jul 20 06:52:09 CDT 2010


Damjan Jovanovic <damjan.jov at gmail.com> writes:

> +    dosPNGFileName = wine_get_dos_file_name(pngFileName);
> +    if (dosPNGFileName == NULL)
> +    {
> +        WINE_ERR("error converting %s to DOS file name\n", pngFileName);
> +        goto end;
> +    }

You can't rely on having a valid DOS name here. You should use the
\\?\unix format, or maybe better fix wine_get_dos_file_name() to do
that.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list