Remove workaround from w32image.c

* src/w32image.c (w32_load_image): Remove a workaround for a bug
that is not needed anymore.  This error was happening because
GDI+ functions were called as CDECL, not as STDCALL.
This commit is contained in:
Eli Zaretskii 2020-04-20 19:29:58 +03:00
parent 477b9eaf45
commit 60b97442f7

View file

@ -447,8 +447,6 @@ w32_load_image (struct frame *f, struct image *img,
if (delay >= 0)
metadata = Fcons (Qdelay, Fcons (make_float (delay), metadata));
}
else if (status == Win32Error) /* FIXME! */
status = Ok;
}
if (status == Ok)