Michael Stefaniuc : comctl32: Don' t start a new ImageList Drag if another one is ongoing.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Oct 7 14:49:55 CDT 2014


Module: wine
Branch: master
Commit: 0a191f85ad3c490b499cf989f8a9cf7c627f2987
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0a191f85ad3c490b499cf989f8a9cf7c627f2987

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Oct  7 01:00:46 2014 +0200

comctl32: Don't start a new ImageList Drag if another one is ongoing.

---

 dlls/comctl32/imagelist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c
index 3b11e89..c915472 100644
--- a/dlls/comctl32/imagelist.c
+++ b/dlls/comctl32/imagelist.c
@@ -611,7 +611,7 @@ ImageList_BeginDrag (HIMAGELIST himlTrack, INT iTrack,
         return FALSE;
 
     if (InternalDrag.himl)
-        ImageList_EndDrag ();
+        return FALSE;
 
     cx = himlTrack->cx;
     cy = himlTrack->cy;




More information about the wine-cvs mailing list