wininet: Fix the return value check of SHGetSpecialFolderPathW in URLCacheContainers_CreateDefaults.

It returns a BOOL, not an HRESULT.
This commit is contained in:
Rob Shearman 2008-02-15 10:06:38 +00:00 committed by Alexandre Julliard
parent f8f9dbbbe7
commit 2e99817a40
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ void URLCacheContainers_CreateDefaults(void)
WCHAR wszMutexName[MAX_PATH];
int path_len, suffix_len;
if (FAILED(SHGetSpecialFolderPathW(NULL, wszCachePath, DefaultContainerData[i].nFolder, TRUE)))
if (!SHGetSpecialFolderPathW(NULL, wszCachePath, DefaultContainerData[i].nFolder, TRUE))
{
ERR("Couldn't get path for default container %u\n", i);
continue;