[*] Off by one indexed extent
This commit is contained in:
parent
6913daae7d
commit
951f9b73f3
@ -1101,7 +1101,7 @@ namespace Aurora::Console::ConsoleStd
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
const char *pAnsiCode =
|
const char *pAnsiCode =
|
||||||
static_cast<EAnsiColor>(msg.color) <= EAnsiColor::eEnumCount ?
|
static_cast<EAnsiColor>(msg.color) < EAnsiColor::eEnumCount ?
|
||||||
kAnsiColorForegroundToVirtualEscape[static_cast<AuUInt>(msg.color)] :
|
kAnsiColorForegroundToVirtualEscape[static_cast<AuUInt>(msg.color)] :
|
||||||
"";
|
"";
|
||||||
|
|
||||||
|
@ -1543,7 +1543,7 @@ namespace Aurora::Console::ConsoleTTY
|
|||||||
AuString writeLine;
|
AuString writeLine;
|
||||||
|
|
||||||
const char *pAnsiCode =
|
const char *pAnsiCode =
|
||||||
static_cast<EAnsiColor>(color) <= EAnsiColor::eEnumCount ?
|
static_cast<EAnsiColor>(color) < EAnsiColor::eEnumCount ?
|
||||||
kAnsiColorForegroundToVirtualEscape[static_cast<AuUInt>(color)] :
|
kAnsiColorForegroundToVirtualEscape[static_cast<AuUInt>(color)] :
|
||||||
"";
|
"";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user