comctl32/imagelist: Simplify setting ImageList_DragEnter() return code.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2016-05-12 23:00:26 +03:00 committed by Alexandre Julliard
parent ac75a00b0d
commit 833ff146c4
1 changed files with 1 additions and 5 deletions

View File

@ -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);
}