From 498578d1bb324e9d2f43a24483d6bf2a16f783f6 Mon Sep 17 00:00:00 2001 From: Andrey Gusev Date: Fri, 13 Oct 2017 15:03:27 +0300 Subject: [PATCH] shell32: Fix misplaced parenthesis. Signed-off-by: Andrey Gusev Signed-off-by: Alexandre Julliard --- dlls/shell32/shell32_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );