Codechange: rename str_validate to StrMakeValid(InPlace) (#9304)
This to be more explicit the function changes the value, and not returns yes/no.
This commit is contained in:
@@ -111,7 +111,7 @@ void IConsolePrint(TextColour colour_code, const char *string)
|
||||
* characters and (when applicable) assign it to the console buffer */
|
||||
str = stredup(string);
|
||||
str_strip_colours(str);
|
||||
str_validate(str, str + strlen(str));
|
||||
StrMakeValidInPlace(str);
|
||||
|
||||
if (_network_dedicated) {
|
||||
NetworkAdminConsole("console", str);
|
||||
|
Reference in New Issue
Block a user