mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-25 14:26:23 +00:00
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:
parent
33f9093f6d
commit
498578d1bb
|
@ -721,7 +721,7 @@ DWORD_PTR WINAPI SHGetFileInfoW(LPCWSTR path,DWORD dwFileAttributes,
|
||||||
DWORD size = sizeof(buf);
|
DWORD size = sizeof(buf);
|
||||||
int icon_idx;
|
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 );
|
if (file == buf) file = HeapAlloc( GetProcessHeap(), 0, size );
|
||||||
else file = HeapReAlloc( GetProcessHeap(), 0, file, size );
|
else file = HeapReAlloc( GetProcessHeap(), 0, file, size );
|
||||||
|
|
Loading…
Reference in a new issue