mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-13 22:42:07 +00:00
- fixed text color setup for added console message.
This commit is contained in:
parent
3aa4425026
commit
a4d5ee83ca
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ void FConsoleBuffer::AddText(int printlevel, const char *text)
|
||||||
if (printlevel >= 0 && printlevel != PRINT_HIGH)
|
if (printlevel >= 0 && printlevel != PRINT_HIGH)
|
||||||
{
|
{
|
||||||
if (printlevel == 200) build = TEXTCOLOR_GREEN;
|
if (printlevel == 200) build = TEXTCOLOR_GREEN;
|
||||||
else if (printlevel < PRINTLEVELS) build.Format("%c%c", TEXTCOLOR_ESCAPE, PrintColors[printlevel]);
|
else if (printlevel < PRINTLEVELS) build.Format("%c%c", TEXTCOLOR_ESCAPE, PrintColors[printlevel]+'A');
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t textsize = strlen(text);
|
size_t textsize = strlen(text);
|
||||||
|
|
Loading…
Reference in a new issue