[SHELL32]
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 21 Aug 2015 16:03:14 +0000 (16:03 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 21 Aug 2015 16:03:14 +0000 (16:03 +0000)
- We are not wine so we can speed things up by trying to read desktop.ini only for system folders.

svn path=/trunk/; revision=68786

reactos/dll/win32/shell32/shlfolder.cpp

index 9947b22..26c2d3e 100644 (file)
@@ -89,8 +89,7 @@ BOOL SHELL32_GetCustomFolderAttributes(
     WCHAR wszFolderPath[MAX_PATH];
 
     /* Hack around not having system attribute on non-Windows file systems */
-    if (0)
-        dwAttrib = _ILGetFileAttributes(pidl, NULL, 0);
+    dwAttrib = _ILGetFileAttributes(pidl, NULL, 0);
 
     if (dwAttrib & FILE_ATTRIBUTE_SYSTEM)
     {