diff options
Diffstat (limited to 'src/console.cpp')
-rw-r--r-- | src/console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console.cpp b/src/console.cpp index 5cd5504b9..a113abf86 100644 --- a/src/console.cpp +++ b/src/console.cpp @@ -97,7 +97,7 @@ void IConsolePrint(ConsoleColour colour_code, const char *string) * characters and (when applicable) assign it to the console buffer */ str = strdup(string); str_strip_colours(str); - str_validate(str); + str_validate(str, str + strlen(str)); if (_network_dedicated) { fprintf(stdout, "%s\n", str); |