- Fix win test crash.
authorJames Tabor <james.tabor@reactos.org>
Tue, 5 Nov 2013 19:53:56 +0000 (19:53 +0000)
committerJames Tabor <james.tabor@reactos.org>
Tue, 5 Nov 2013 19:53:56 +0000 (19:53 +0000)
svn path=/trunk/; revision=60867

reactos/win32ss/user/user32/windows/class.c

index c7d0aaa..4a5e6b3 100644 (file)
@@ -236,8 +236,8 @@ VersionRegisterClass(
    WCHAR ClassNameBuf[MAX_PATH] = {0};
    BOOL Ret = FALSE;
    HMODULE hLibModule = NULL;
-   
-   if (is_comctl32_class( pszClass ))
+
+   if (!IS_ATOM(pszClass) && is_comctl32_class( pszClass ))
    {
    _SEH2_TRY
    {