Cleanup: remove str_strip_colours; StrMakeValid also removes the colours

Essentially str_strip_colours followed by StrMakeValid makes the calling of
str_strip_colours useless, as StrMakeValid would have removed them too.
This commit is contained in:
Rubidium
2023-06-08 17:05:57 +02:00
committed by rubidium42
parent 35ef6c1723
commit e762855201
3 changed files with 0 additions and 25 deletions

View File

@@ -42,7 +42,6 @@ void StrMakeValidInPlace(char *str, const char *last, StringValidationSettings s
void StrMakeValidInPlace(char *str, StringValidationSettings settings = SVS_REPLACE_WITH_QUESTION_MARK);
void str_fix_scc_encoded(char *str, const char *last) NOACCESS(2);
void str_strip_colours(char *str);
bool strtolower(std::string &str, std::string::size_type offs = 0);
[[nodiscard]] bool StrValid(const char *str, const char *last) NOACCESS(2);