mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
fixed last commit
This commit is contained in:
parent
f9f8cabc4b
commit
bda625de12
|
@ -134,6 +134,8 @@ static void logger_win_console(const char *line)
|
|||
// an error, end the string here.
|
||||
glyph = UNICODE_REPLACEMENT_CHAR;
|
||||
error = INVALID_UTF8;
|
||||
wline[len] = glyph;
|
||||
break;
|
||||
}
|
||||
else if(glyph == 0)
|
||||
{
|
||||
|
@ -148,6 +150,12 @@ static void logger_win_console(const char *line)
|
|||
// but rather emit a replacement character.
|
||||
glyph = UNICODE_REPLACEMENT_CHAR;
|
||||
}
|
||||
else if(glyph == 0x2022)
|
||||
{
|
||||
// The 'bullet' character might get converted to a 'beep',
|
||||
// so it will be replaced by the 'bullet operator'.
|
||||
glyph = 0x2219;
|
||||
}
|
||||
|
||||
// Again, since the windows console does not really support
|
||||
// UTF-16, but rather something along the lines of UCS-2,
|
||||
|
|
Loading…
Reference in a new issue