emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 60b9744: Remove workaround from w32image.c


From: Eli Zaretskii
Subject: master 60b9744: Remove workaround from w32image.c
Date: Mon, 20 Apr 2020 12:31:17 -0400 (EDT)

branch: master
commit 60b97442f7fc42d029325f5cbcb6a8670dd15078
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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 085a5db..8d39a09 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]