Hide undesired 'I' character produced by message_format_line() when outputting WC3 MOTD. #408
This commit is contained in:
parent
dd9d607a9e
commit
689b75b885
1 changed files with 1 additions and 1 deletions
|
@ -2932,7 +2932,7 @@ namespace pvpgn
|
|||
while (char* buff = file_get_line(fp))
|
||||
{
|
||||
char* line = message_format_line(c, buff);
|
||||
fmt::format_to(std::back_inserter(serverinfo), "{}\n", line);
|
||||
fmt::format_to(std::back_inserter(serverinfo), "{}\n", line + 1);
|
||||
xfree((void*)line);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue