Fixed a typo in the previous SHGetFileInfo() patch.

This commit is contained in:
Rein Klazes 2003-07-08 21:07:49 +00:00 committed by Alexandre Julliard
parent 8def400d1f
commit c2d287f682

View file

@ -299,9 +299,9 @@ DWORD WINAPI SHGetFileInfoA(LPCSTR path,DWORD dwFileAttributes,
return 0;
}
/* psfi is NULL normally to query EXE type, if not none of the below makes
sense anyway. Windows allows this and just returns FALSE */
if (psfi != NULL) return FALSE;
/* psfi is NULL normally to query EXE type. If it is NULL, none of the
* below makes sense anyway. Windows allows this and just returns FALSE */
if (psfi == NULL) return FALSE;
/* translate the path into a pidl only when SHGFI_USEFILEATTRIBUTES
* is not specified.