summaryrefslogtreecommitdiff
path: root/src/string.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
committerrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
commit979ccd45baa9a38169661ba379a341cae8619c3b (patch)
tree757477dbdc02025cc29690a4e66e40f872cab02b /src/string.h
parent4169bfba0604b33bad92389bd3eb6f9acde89f49 (diff)
downloadopenttd-979ccd45baa9a38169661ba379a341cae8619c3b.tar.xz
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/string.h')
-rw-r--r--src/string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string.h b/src/string.h
index eba7eff63..2170a30f9 100644
--- a/src/string.h
+++ b/src/string.h
@@ -37,11 +37,11 @@ void str_strip_colours(char *str);
/**
* Valid filter types for IsValidChar.
*/
-typedef enum CharSetFilter {
+enum CharSetFilter {
CS_ALPHANUMERAL, //! Both numeric and alphabetic and spaces and stuff
CS_NUMERAL, //! Only numeric ones
CS_ALPHA, //! Only alphabetic values
-} CharSetFilter;
+};
/** Convert the given string to lowercase, only works with ASCII! */
void strtolower(char *str);