Utility::GetPlatformKernelVersion(): also output the build number

I.e. output 6.2.9200, not just 6.2.
This commit is contained in:
Alexander Aleksandrovič Klimov 2023-01-30 16:57:43 +01:00 committed by Alexander A. Klimov
parent 4bcf0f20dd
commit fc41da350a

View File

@ -1749,7 +1749,7 @@ String Utility::GetPlatformKernelVersion()
GetVersionEx(&info);
std::ostringstream msgbuf;
msgbuf << info.dwMajorVersion << "." << info.dwMinorVersion;
msgbuf << info.dwMajorVersion << "." << info.dwMinorVersion << "." << info.dwBuildNumber;
return msgbuf.str();
#else /* _WIN32 */