[SHELL32]
authorPierre Schweitzer <pierre@reactos.org>
Sat, 27 Feb 2016 21:01:11 +0000 (21:01 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 27 Feb 2016 21:01:11 +0000 (21:01 +0000)
Thanks to r70793, this hack is no longer needed.

CORE-10878
CORE-10032

svn path=/trunk/; revision=70794

reactos/dll/win32/shell32/folders/CNetFolder.cpp

index f34b92a..6b3ceae 100644 (file)
@@ -138,11 +138,6 @@ BOOL CNetFolderEnum::EnumerateRec(LPNETRESOURCE lpNet)
                 if ((lpCur->dwUsage & RESOURCEUSAGE_CONTAINER) == RESOURCEUSAGE_CONTAINER)
                 {
                     TRACE("Found provider: %S\n", lpCur->lpProvider);
                 if ((lpCur->dwUsage & RESOURCEUSAGE_CONTAINER) == RESOURCEUSAGE_CONTAINER)
                 {
                     TRACE("Found provider: %S\n", lpCur->lpProvider);
-                    /* Sounds like a WTF hack.... Is Wine doing correct? */
-                    if (!wcscmp(lpCur->lpRemoteName, lpCur->lpProvider))
-                    {
-                        lpCur->lpRemoteName = NULL;
-                    }
                     EnumerateRec(lpCur);
                 }
                 else
                     EnumerateRec(lpCur);
                 }
                 else