mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +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)
|
if (TEXTCOLOR_ESCAPE == *message)
|
||||||
{
|
{
|
||||||
const BYTE* colorID = reinterpret_cast<const BYTE*>(message) + 1;
|
const BYTE* colorID = reinterpret_cast<const BYTE*>(message) + 1;
|
||||||
if ('\0' == colorID)
|
if ('\0' == *colorID)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue