[PATCH] user32: Add support for PNG icons.
Alexandre Julliard
julliard at winehq.org
Mon Apr 2 10:43:39 CDT 2018
Dmitry Timoshkov <dmitry at baikal.ru> writes:
> Alexandre Julliard <julliard at winehq.org> wrote:
>
>> You cannot do the setjmp in a helper function that you return from. All
>> the calls that can cause a longjmp need to be done inside that function.
>
> Do you have a suggestion how to do that cleanly? Call setjmp() outside
> and pass jmp_buf by reference to the helper?
I'd suggest to have a single helper function that does everything. The
separate width/height fetching can be done by simply looking at the
header without involving libpng.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list