comctl32: Remove an always true conditional expression.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-07-29 12:23:19 +02:00 committed by Alexandre Julliard
parent a9115b36c6
commit 302ae44d8b
1 changed files with 3 additions and 1 deletions

View File

@ -3469,7 +3469,9 @@ static HRESULT WINAPI ImageListImpl_GetImageRect(IImageList2 *iface, int i,
if (!ImageList_GetImageInfo(imgl, i, &info))
return E_FAIL;
return CopyRect(prc, &info.rcImage) ? S_OK : E_FAIL;
*prc = info.rcImage;
return S_OK;
}
static HRESULT WINAPI ImageListImpl_GetIconSize(IImageList2 *iface, int *cx,