diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
commit | 24c4d5b06d231785db01500360c26815d8fe4d15 (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/string.h | |
parent | 36bb92ae241403d61dc7a3e5a1696b615be61395 (diff) | |
download | openttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/string.h')
-rw-r--r-- | src/string.h | 4 |
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); |