[PATCH] comctl32/imagelist: Simplify setting ImageList_DragEnter() return code
Nikolay Sivov
nsivov at codeweavers.com
Thu May 12 15:00:26 CDT 2016
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/comctl32/imagelist.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c
index c34eb0a..a7301d1 100644
--- a/dlls/comctl32/imagelist.c
+++ b/dlls/comctl32/imagelist.c
@@ -930,11 +930,7 @@ ImageList_DragEnter (HWND hwndLock, INT x, INT y)
InternalDrag.y = y;
/* draw the drag image and save the background */
- if (!ImageList_DragShowNolock(TRUE)) {
- return FALSE;
- }
-
- return TRUE;
+ return ImageList_DragShowNolock(TRUE);
}
--
2.8.1
More information about the wine-patches
mailing list