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:
parent
a9115b36c6
commit
302ae44d8b
|
@ -3469,7 +3469,9 @@ static HRESULT WINAPI ImageListImpl_GetImageRect(IImageList2 *iface, int i,
|
||||||
if (!ImageList_GetImageInfo(imgl, i, &info))
|
if (!ImageList_GetImageInfo(imgl, i, &info))
|
||||||
return E_FAIL;
|
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,
|
static HRESULT WINAPI ImageListImpl_GetIconSize(IImageList2 *iface, int *cx,
|
||||||
|
|
Loading…
Reference in New Issue