diff options
author | Patric Stout <truebrain@openttd.org> | 2021-05-29 11:21:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-29 11:21:38 +0200 |
commit | ca9a7df7522a614b839a83e1ba9b6a7b08642b8a (patch) | |
tree | 172dedad1d930ef7699838272e779c9d7218319b /src/video | |
parent | 4d74e519074bec9a07c2997715ab635ac0e8f084 (diff) | |
download | openttd-ca9a7df7522a614b839a83e1ba9b6a7b08642b8a.tar.xz |
Codechange: rename str_validate to StrMakeValid(InPlace) (#9304)
This to be more explicit the function changes the value, and not
returns yes/no.
Diffstat (limited to 'src/video')
-rw-r--r-- | src/video/dedicated_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/dedicated_v.cpp b/src/video/dedicated_v.cpp index 6f631e227..445ff19e4 100644 --- a/src/video/dedicated_v.cpp +++ b/src/video/dedicated_v.cpp @@ -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 } |