summaryrefslogtreecommitdiff
path: root/src/string_func.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2012-01-16 22:29:25 +0000
committeryexo <yexo@openttd.org>2012-01-16 22:29:25 +0000
commit2c998051173484aeac026de21a50177313908d37 (patch)
tree4f9ce66ed13db21ea3848341f894b3f9882752f5 /src/string_func.h
parent358b3e41b25ec207af0652895545a10be9be5811 (diff)
downloadopenttd-2c998051173484aeac026de21a50177313908d37.tar.xz
(svn r23816) -Fix (r23635, r23805): make SCC_ENCODED the first entry in the StringControlCode enum since it's value is not allowed to change
Diffstat (limited to 'src/string_func.h')
-rw-r--r--src/string_func.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/string_func.h b/src/string_func.h
index ac2fd0e76..070695fdb 100644
--- a/src/string_func.h
+++ b/src/string_func.h
@@ -40,6 +40,7 @@ int CDECL seprintf(char *str, const char *last, const char *format, ...) WARN_FO
char *CDECL str_fmt(const char *str, ...) WARN_FORMAT(1, 2);
void str_validate(char *str, const char *last, StringValidationSettings settings = SVS_REPLACE_WITH_QUESTION_MARK);
+void str_fix_scc_encoded(char *str, const char *last);
void str_strip_colours(char *str);
bool strtolower(char *str);