From cef563141a3f1bfe8d8f2bf5211598df57e4ec0f Mon Sep 17 00:00:00 2001 From: Darkvater Date: Mon, 31 Jul 2006 22:11:34 +0000 Subject: (svn r5684) - Codechange: create an strtolower() function that uses tolower() on a whole string and apply it in the places this was used. --- string.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'string.h') diff --git a/string.h b/string.h index cbe3881db..39be2309b 100644 --- a/string.h +++ b/string.h @@ -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 -- cgit v1.2.3-70-g09d2