Commit c2d287f6 authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

Fixed a typo in the previous SHGetFileInfo() patch.

parent 8def400d
...@@ -299,9 +299,9 @@ DWORD WINAPI SHGetFileInfoA(LPCSTR path,DWORD dwFileAttributes, ...@@ -299,9 +299,9 @@ DWORD WINAPI SHGetFileInfoA(LPCSTR path,DWORD dwFileAttributes,
return 0; return 0;
} }
/* psfi is NULL normally to query EXE type, if not none of the below makes /* psfi is NULL normally to query EXE type. If it is NULL, none of the
sense anyway. Windows allows this and just returns FALSE */ * below makes sense anyway. Windows allows this and just returns FALSE */
if (psfi != NULL) return FALSE; if (psfi == NULL) return FALSE;
/* translate the path into a pidl only when SHGFI_USEFILEATTRIBUTES /* translate the path into a pidl only when SHGFI_USEFILEATTRIBUTES
* is not specified. * is not specified.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment