From: Eli Zaretskii Date: Mon, 20 Apr 2020 16:29:58 +0000 (+0300) Subject: Remove workaround from w32image.c X-Git-Tag: emacs-28.0.90~7537 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=60b97442f7fc42d029325f5cbcb6a8670dd15078;p=emacs.git 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. --- 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)