diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c index 0ed67907ca1..445cd59db9b 100644 --- a/dlls/shell32/shell32_main.c +++ b/dlls/shell32/shell32_main.c @@ -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 );