[SHELL32]
authorRafal Harabien <rafalh@reactos.org>
Sat, 17 Dec 2011 22:57:01 +0000 (22:57 +0000)
committerRafal Harabien <rafalh@reactos.org>
Sat, 17 Dec 2011 22:57:01 +0000 (22:57 +0000)
- Fix a typo from previous commit

svn path=/trunk/; revision=54676

reactos/dll/win32/shell32/classes.cpp

index 0c4debb..f9d12f4 100644 (file)
@@ -347,7 +347,7 @@ BOOL HCR_GetClassNameW(REFIID riid, LPWSTR szDest, DWORD len)
       static const WCHAR wszLocalizedString[] =
       { 'L','o','c','a','l','i','z','e','d','S','t','r','i','n','g', 0 };
       if (RegLoadMUIStringW(hkey, wszLocalizedString, szDest, len, NULL, 0, NULL) == ERROR_SUCCESS ||
-          !RegQueryValueExW(hkey, swEmpty, 0, NULL, (LPBYTE)szDest, &len) == ERROR_SUCCESS)
+          RegQueryValueExW(hkey, swEmpty, 0, NULL, (LPBYTE)szDest, &len) == ERROR_SUCCESS)
       {
         ret = TRUE;
       }