1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

disable console colors as Xcode doesn't render them

This commit is contained in:
Andrey Filipenkov 2021-03-07 18:20:53 +03:00
parent b8fa692bda
commit 98d507d0a5

View File

@ -165,6 +165,7 @@ LONG WINAPI onUnhandledException(EXCEPTION_POINTERS* exception)
void CConsoleHandler::setColor(EConsoleTextColor::EConsoleTextColor color) void CConsoleHandler::setColor(EConsoleTextColor::EConsoleTextColor color)
{ {
#ifndef VCMI_IOS
TColor colorCode; TColor colorCode;
switch(color) switch(color)
{ {
@ -204,6 +205,7 @@ void CConsoleHandler::setColor(EConsoleTextColor::EConsoleTextColor color)
#else #else
std::cout << colorCode; std::cout << colorCode;
#endif #endif
#endif
} }
int CConsoleHandler::run() int CConsoleHandler::run()