wine/dlls/shell32 shell32_main.c

Rein Klazes rklazes at xs4all.nl
Fri Jul 4 12:59:27 CDT 2003


Hi,

As discussed on the developer list.

Changelog:
	dlls/shell32	: shell32_main.c
	Fix a typo in the previous SHGetFileInfo() patch.

Rein.
-- 
Rein Klazes
rklazes at xs4all.nl
-------------- next part --------------
--- wine/dlls/shell32/shell32_main.c	2003-06-28 22:29:28.000000000 +0200
+++ mywine/dlls/shell32/shell32_main.c	2003-07-04 19:47:02.000000000 +0200
@@ -299,9 +299,9 @@
 	  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.


More information about the wine-patches mailing list