Fix some coding conventions

Thanks to hiker for the info
This commit is contained in:
Timothy Hamlett
2014-12-01 12:49:15 -06:00
parent d95f7835fd
commit 263d072c98
2 changed files with 2 additions and 3 deletions

View File

@@ -1582,8 +1582,7 @@ void CIrrDeviceWin32::getWindowsVersion(core::stringc& out)
else
out.append("Microsoft Windows Server 2008 R2 ");
}
else
if (osvi.dwMinorVersion == 2)
else if (osvi.dwMinorVersion == 2)
{
if (osvi.wProductType == VER_NT_WORKSTATION)
out.append("Microsoft Windows 8 ");

View File

@@ -235,7 +235,7 @@ void determineOSVersion()
case 0x0600: m_os_version="Windows Vista"; break;
case 0x0601: m_os_version="Windows 7"; break;
case 0x0602: m_os_version="Windows 8"; break;
case 0x0603: m_os_version="Windows 8_1"; break;
case 0x0603: m_os_version="Windows 8_1"; break;
default: {
m_os_version = StringUtils::insertValues("Windows %d",
windows_version);