shell32: Fix misplaced parenthesis.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2017-10-13 15:03:27 +03:00 committed by Alexandre Julliard
parent 33f9093f6d
commit 498578d1bb

View File

@ -721,7 +721,7 @@ DWORD_PTR WINAPI SHGetFileInfoW(LPCWSTR path,DWORD dwFileAttributes,
DWORD size = sizeof(buf);
int icon_idx;
while ((hr = SIC_get_location( psfi->iIcon, file, &size, &icon_idx ) == E_NOT_SUFFICIENT_BUFFER))
while ((hr = SIC_get_location( psfi->iIcon, file, &size, &icon_idx )) == E_NOT_SUFFICIENT_BUFFER)
{
if (file == buf) file = HeapAlloc( GetProcessHeap(), 0, size );
else file = HeapReAlloc( GetProcessHeap(), 0, file, size );