[ROSAPPS][GETTYPE] Fix a copy-paste-issue when checking for Win2000 CORE-16073
authorJoachim Henze <Joachim.Henze@reactos.org>
Wed, 29 May 2019 19:19:02 +0000 (21:19 +0200)
committerJoachim Henze <Joachim.Henze@reactos.org>
Wed, 29 May 2019 19:19:02 +0000 (21:19 +0200)
modules/rosapps/applications/sysutils/gettype/gettype.c

index 23889fb..dbcc62e 100644 (file)
@@ -174,7 +174,7 @@ GetBasicInfo(LPOSVERSIONINFOEX osvi, TCHAR * HostName, TCHAR * OSName, TCHAR * V
        }
        else if(osvi->dwMajorVersion == 5)
        {
-               if(osvi->dwMajorVersion == 0)
+               if(osvi->dwMinorVersion == 0)
                {
                        _tcscpy(OSName, _T("Microsoft Windows 2000 "));
                }