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. 4
      olcConsoleGameEngine.h

@ -370,13 +370,13 @@ public:
cfi.FontFamily = FF_DONTCARE; cfi.FontFamily = FF_DONTCARE;
cfi.FontWeight = FW_NORMAL; cfi.FontWeight = FW_NORMAL;
DWORD version = GetVersion(); /*DWORD version = GetVersion();
DWORD major = (DWORD)(LOBYTE(LOWORD(version))); DWORD major = (DWORD)(LOBYTE(LOWORD(version)));
DWORD minor = (DWORD)(HIBYTE(LOWORD(version))); DWORD minor = (DWORD)(HIBYTE(LOWORD(version)));
if ((major > 6) || ((major == 6) && (minor >= 2) && (minor < 4))) if ((major > 6) || ((major == 6) && (minor >= 2) && (minor < 4)))
wcscpy_s(cfi.FaceName, L"Raster"); // Windows 8 :( 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"Lucida Console"); // Everything else :P
//wcscpy_s(cfi.FaceName, L"Liberation Mono"); //wcscpy_s(cfi.FaceName, L"Liberation Mono");

Loading…
Cancel
Save