Fixed small Unicode error

Thanks ~~Appa
This commit is contained in:
Javidx9
2018-09-03 22:08:06 +01:00
committed by GitHub
parent 0a23f35a61
commit 04212e1406

View File

@@ -2,7 +2,7 @@
olcPixelGameEngine.h
+-------------------------------------------------------------+
| OneLoneCoder Pixel Game Engine v0.2 |
| OneLoneCoder Pixel Game Engine v0.3 |
| "Like the command prompt console one, but not..." - javidx9 |
+-------------------------------------------------------------+
@@ -1254,7 +1254,7 @@ namespace olc
SetWindowText(olc_hWnd, sTitle);
#else
char sTitle[256];
sprintf(sTitle, "OneLoneCoder.com - Pixel Game Engine - %s - FPS: %3.2f", sAppName.c_str(), 1.0f / fElapsedTime);
sprintf_s(sTitle, 256, "OneLoneCoder.com - Pixel Game Engine - %s - FPS: %3.2f", sAppName.c_str(), 1.0f / fElapsedTime);
SetWindowText(olc_hWnd, sTitle);
#endif
#else