No changes, just remove stray CRs from wxMSW wxGetOsVersion().
Commit 2b3633b3c0
somehow used incorrect EOLs
for this file, see https://github.com/wxWidgets/wxWidgets/pull/62
This commit is contained in:
parent
271e8ab62e
commit
f7b38667ea
@ -1329,17 +1329,17 @@ wxOperatingSystemId wxGetOsVersion(int *verMaj, int *verMin)
|
|||||||
|
|
||||||
bool wxCheckOsVersion(int majorVsn, int minorVsn)
|
bool wxCheckOsVersion(int majorVsn, int minorVsn)
|
||||||
{
|
{
|
||||||
OSVERSIONINFOEX osvi = { sizeof(osvi), 0, 0, 0, 0, { 0 }, 0, 0 };
|
OSVERSIONINFOEX osvi = { sizeof(osvi), 0, 0, 0, 0, { 0 }, 0, 0 };
|
||||||
DWORDLONG const dwlConditionMask =
|
DWORDLONG const dwlConditionMask =
|
||||||
::VerSetConditionMask(
|
::VerSetConditionMask(
|
||||||
::VerSetConditionMask(
|
::VerSetConditionMask(
|
||||||
0, VER_MAJORVERSION, VER_GREATER_EQUAL),
|
0, VER_MAJORVERSION, VER_GREATER_EQUAL),
|
||||||
VER_MINORVERSION, VER_GREATER_EQUAL);
|
VER_MINORVERSION, VER_GREATER_EQUAL);
|
||||||
|
|
||||||
osvi.dwMajorVersion = majorVsn;
|
osvi.dwMajorVersion = majorVsn;
|
||||||
osvi.dwMinorVersion = minorVsn;
|
osvi.dwMinorVersion = minorVsn;
|
||||||
|
|
||||||
return ::VerifyVersionInfo(&osvi, VER_MAJORVERSION | VER_MINORVERSION, dwlConditionMask) != FALSE;
|
return ::VerifyVersionInfo(&osvi, VER_MAJORVERSION | VER_MINORVERSION, dwlConditionMask) != FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxWinVersion wxGetWinVersion()
|
wxWinVersion wxGetWinVersion()
|
||||||
|
Loading…
Reference in New Issue
Block a user