RE: wine/dlls/shell32 shell32_main.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xs4all.nl
--- 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.

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux