ZeroMemory(pfd, sizeof(*pfd));
/* Copy the file data if a file path was returned */
- if (*pszFileW)
+ if (*pszFile)
{
/* Copy the fixed part */
CopyMemory(pfd, &wfd, FIELD_OFFSET(WIN32_FIND_DATAA, cFileName));
return E_FAIL;
return IShellLink_ConstructFromPath(path, riid, ppv);
-}
\ No newline at end of file
+}