diff options
-rw-r--r-- | src/mir_core/src/Windows/winver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/src/Windows/winver.cpp b/src/mir_core/src/Windows/winver.cpp index d43cfd3fa3..27a76dbb2e 100644 --- a/src/mir_core/src/Windows/winver.cpp +++ b/src/mir_core/src/Windows/winver.cpp @@ -181,7 +181,7 @@ MIR_CORE_DLL(BOOL) OS_GetDisplayString(char *buf, size_t bufSize) // Test for the specific product.
if (osvi.dwMajorVersion >= 6) {
- int iVersion = (osvi.dwBuildNumber > 22000) ? 11 : 10;
+ int iVersion = (osvi.dwBuildNumber >= 22000) ? 11 : 10;
if (osvi.dwMajorVersion == 10) {
if (osvi.wProductType == VER_NT_WORKSTATION)
ret.AppendFormat("Windows %d ", iVersion);
|