Author: gadamopoulos
Date: Tue Oct 28 15:07:31 2014
New Revision: 65072

URL: http://svn.reactos.org/svn/reactos?rev=65072&view=rev
Log:
[SHELL32]
- Return a readable folder name when SHGDN_FORADDRESSBAR was specified
- We no longer show GUIDs in the address bar 

Modified:
    branches/shell-experiments/dll/win32/shell32/folders/desktop.cpp
    branches/shell-experiments/dll/win32/shell32/folders/mycomp.cpp

Modified: branches/shell-experiments/dll/win32/shell32/folders/desktop.cpp
URL: 
http://svn.reactos.org/svn/reactos/branches/shell-experiments/dll/win32/shell32/folders/desktop.cpp?rev=65072&r1=65071&r2=65072&view=diff
==============================================================================
--- branches/shell-experiments/dll/win32/shell32/folders/desktop.cpp    
[iso-8859-1] (original)
+++ branches/shell-experiments/dll/win32/shell32/folders/desktop.cpp    
[iso-8859-1] Tue Oct 28 15:07:31 2014
@@ -679,7 +679,7 @@
 
         if ((clsid = _ILGetGUIDPointer (pidl)))
         {
-            if (GET_SHGDN_FOR (dwFlags) & SHGDN_FORPARSING)
+            if (GET_SHGDN_FOR (dwFlags) == SHGDN_FORPARSING)
             {
                 int bWantsForParsing;
 

Modified: branches/shell-experiments/dll/win32/shell32/folders/mycomp.cpp
URL: 
http://svn.reactos.org/svn/reactos/branches/shell-experiments/dll/win32/shell32/folders/mycomp.cpp?rev=65072&r1=65071&r2=65072&view=diff
==============================================================================
--- branches/shell-experiments/dll/win32/shell32/folders/mycomp.cpp     
[iso-8859-1] (original)
+++ branches/shell-experiments/dll/win32/shell32/folders/mycomp.cpp     
[iso-8859-1] Tue Oct 28 15:07:31 2014
@@ -491,7 +491,7 @@
             clsid = _ILGetGUIDPointer (pidl);
             if (clsid)
             {
-                if (GET_SHGDN_FOR (dwFlags) & SHGDN_FORPARSING)
+                if (GET_SHGDN_FOR (dwFlags) == SHGDN_FORPARSING)
                 {
                     static const WCHAR clsidW[] = L"CLSID\\";
                     static const WCHAR shellfolderW[] = L"\\shellfolder";


Reply via email to