mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 03:18:55 +02:00
fix invalid esc symbosl on logs
This commit is contained in:
parent
387c543121
commit
8275903b65
1 changed files with 3 additions and 0 deletions
|
|
@ -41,6 +41,9 @@ static void PrintMessage(const Entry& entry) noexcept {
|
|||
#ifdef _WIN32
|
||||
auto const str = FormatLogMessage(entry).append(1, '\n');
|
||||
fwrite(str.c_str(), 1, str.size(), stderr);
|
||||
#elif defined(__OPENORBIS__)
|
||||
auto const str = FormatLogMessage(entry).append(1, '\n');
|
||||
fwrite(str.c_str(), 1, str.size(), stderr);
|
||||
#else
|
||||
#define ESC "\x1b"
|
||||
auto const color_str = [&entry]() -> const char* {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue