https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0d20e8988d77187665310…
commit 0d20e8988d7718766531087664747b66a862c693
Author: Joachim Henze <Joachim.Henze(a)reactos.org>
AuthorDate: Wed May 29 21:19:02 2019 +0200
Commit: Joachim Henze <Joachim.Henze(a)reactos.org>
CommitDate: Wed May 29 21:19:02 2019 +0200
[ROSAPPS][GETTYPE] Fix a copy-paste-issue when checking for Win2000 CORE-16073
---
modules/rosapps/applications/sysutils/gettype/gettype.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/rosapps/applications/sysutils/gettype/gettype.c
b/modules/rosapps/applications/sysutils/gettype/gettype.c
index 23889fb762..dbcc62efd0 100644
--- a/modules/rosapps/applications/sysutils/gettype/gettype.c
+++ b/modules/rosapps/applications/sysutils/gettype/gettype.c
@@ -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 "));
}