Nikolay Sivov : comctl32/imagelist: Simplify setting ImageList_DragEnter() return code.
Module: wine Branch: master Commit: 833ff146c4611897085fafb36b09c41488ffedc6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=833ff146c4611897085fafb36b... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Thu May 12 23:00:26 2016 +0300 comctl32/imagelist: Simplify setting ImageList_DragEnter() return code. Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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); }
participants (1)
-
Alexandre Julliard