[SHELL32] -The only change I did in the previous patch was buggy.
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 5 Feb 2017 12:27:53 +0000 (12:27 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 5 Feb 2017 12:27:53 +0000 (12:27 +0000)
svn path=/trunk/; revision=73704

reactos/dll/win32/shell32/dialogs/folder_options.cpp

index 7593f63..5e114b6 100644 (file)
@@ -1132,9 +1132,9 @@ static BOOL CALLBACK RefreshBrowsersCallback (HWND hWnd, LPARAM msg)
     WCHAR ClassName[100];
     if (GetClassName(hWnd, ClassName, 100))
     {
-        if (wcscmp(ClassName, L"Progman") || 
-            wcscmp(ClassName, L"CabinetWClass") ||
-            wcscmp(ClassName, L"ExploreWClass"))
+        if (!wcscmp(ClassName, L"Progman") || 
+            !wcscmp(ClassName, L"CabinetWClass") ||
+            !wcscmp(ClassName, L"ExploreWClass"))
         {
             PostMessage(hWnd, WM_COMMAND, FCIDM_DESKBROWSER_REFRESH, 0);
         }