mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
Fixed incorrect comparison in OS X console window
No more 'comparison between pointer and integer' error
This commit is contained in:
parent
6baa1b0674
commit
202aea61e5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue