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:
@@ -229,7 +229,7 @@ static void DedicatedHandleKeyInput()
|
||||
break;
|
||||
}
|
||||
}
|
||||
str_validate(input_line, lastof(input_line));
|
||||
StrMakeValidInPlace(input_line, lastof(input_line));
|
||||
|
||||
IConsoleCmdExec(input_line); // execute command
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user