From 60b97442f7fc42d029325f5cbcb6a8670dd15078 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 20 Apr 2020 19:29:58 +0300 Subject: [PATCH] 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. --- src/w32image.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/w32image.c b/src/w32image.c index 085a5db3abd..8d39a09dc7e 100644 --- a/src/w32image.c +++ b/src/w32image.c @@ -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) -- 2.39.2