diff options
author | Darkvater <darkvater@openttd.org> | 2006-07-31 22:11:34 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-07-31 22:11:34 +0000 |
commit | cef563141a3f1bfe8d8f2bf5211598df57e4ec0f (patch) | |
tree | 324b4fc0d30866882b6415c8accf29bf57ca9be6 /string.h | |
parent | 17dc89880501bcd0fc341db033596cfd066d4eaf (diff) | |
download | openttd-cef563141a3f1bfe8d8f2bf5211598df57e4ec0f.tar.xz |
(svn r5684) - Codechange: create an strtolower() function that uses tolower() on a whole string and apply it in the places this was used.
Diffstat (limited to 'string.h')
-rw-r--r-- | string.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -29,6 +29,9 @@ char* CDECL str_fmt(const char* str, ...); * replaces them with a question mark '?' */ void str_validate(char *str); +/** Convert the given string to lowercase */ +void strtolower(char *str); + /** Only allow valid ascii-function codes. Filter special codes like BELL and * so on [we need a special filter here later] * @param key character to be checked |