Fixed incorrect comparison in OS X console window

No more 'comparison between pointer and integer' error
This commit is contained in:
alexey.lysiuk 2016-02-27 12:48:12 +02:00
parent 6baa1b0674
commit 202aea61e5

View file

@ -213,7 +213,7 @@ void FConsoleWindow::AddText(const char* message)
if (TEXTCOLOR_ESCAPE == *message)
{
const BYTE* colorID = reinterpret_cast<const BYTE*>(message) + 1;
if ('\0' == colorID)
if ('\0' == *colorID)
{
break;
}