Skip to content
Snippets Groups Projects
Commit 78220433 authored by rswindell's avatar rswindell
Browse files

No longer pads minor Windows version (XP is 5.1 not 5.01).

parent f434f05d
Branches
Tags
No related merge requests found
...@@ -219,7 +219,7 @@ char* DLLCALL os_version(char *str) ...@@ -219,7 +219,7 @@ char* DLLCALL os_version(char *str)
break; break;
} }
sprintf(str,"Windows %sVersion %u.%02u (Build %u) %s" sprintf(str,"Windows %sVersion %u.%u (Build %u) %s"
,winflavor ,winflavor
,winver.dwMajorVersion, winver.dwMinorVersion ,winver.dwMajorVersion, winver.dwMinorVersion
,winver.dwBuildNumber,winver.szCSDVersion); ,winver.dwBuildNumber,winver.szCSDVersion);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment