Removed GetVersion Test

master
Javidx9 7 years ago committed by GitHub
parent afae5176d6
commit 56b9946021
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      olcConsoleGameEngine.h

@ -370,13 +370,13 @@ public:
cfi.FontFamily = FF_DONTCARE;
cfi.FontWeight = FW_NORMAL;
DWORD version = GetVersion();
/*DWORD version = GetVersion();
DWORD major = (DWORD)(LOBYTE(LOWORD(version)));
DWORD minor = (DWORD)(HIBYTE(LOWORD(version)));
if ((major > 6) || ((major == 6) && (minor >= 2) && (minor < 4)))
wcscpy_s(cfi.FaceName, L"Raster"); // Windows 8 :(
else
else*/
wcscpy_s(cfi.FaceName, L"Lucida Console"); // Everything else :P
//wcscpy_s(cfi.FaceName, L"Liberation Mono");
@ -904,4 +904,4 @@ protected:
atomic<bool> olcConsoleGameEngine::m_bAtomActive(false);
condition_variable olcConsoleGameEngine::m_cvGameFinished;
mutex olcConsoleGameEngine::m_muxGame;
mutex olcConsoleGameEngine::m_muxGame;

Loading…
Cancel
Save