aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2020-04-20 19:29:58 +0300
committerEli Zaretskii2020-04-20 19:29:58 +0300
commit60b97442f7fc42d029325f5cbcb6a8670dd15078 (patch)
treea84643d4b053da4c6616657b4c6599afe46a640e /src
parent477b9eaf45da1ebc4f2117d69df3571f0bf61e47 (diff)
downloademacs-60b97442f7fc42d029325f5cbcb6a8670dd15078.tar.gz
emacs-60b97442f7fc42d029325f5cbcb6a8670dd15078.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/w32image.c2
1 files changed, 0 insertions, 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,
447 if (delay >= 0) 447 if (delay >= 0)
448 metadata = Fcons (Qdelay, Fcons (make_float (delay), metadata)); 448 metadata = Fcons (Qdelay, Fcons (make_float (delay), metadata));
449 } 449 }
450 else if (status == Win32Error) /* FIXME! */
451 status = Ok;
452 } 450 }
453 451
454 if (status == Ok) 452 if (status == Ok)