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:
parent
ac75a00b0d
commit
833ff146c4
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue