diff options
author | Max Kellermann <max@duempel.org> | 2008-10-15 19:36:37 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-15 19:36:37 +0200 |
commit | 047043d2a8ee4482a845ed9860dbf4cd01540eef (patch) | |
tree | ec8542ca3ea28e255bd857f01b7b8672fb029da5 /src/utils.h | |
parent | 7366191f0d0d5c50ee051a3b60fc31ad86bce721 (diff) | |
download | mpd-047043d2a8ee4482a845ed9860dbf4cd01540eef.tar.gz mpd-047043d2a8ee4482a845ed9860dbf4cd01540eef.tar.xz mpd-047043d2a8ee4482a845ed9860dbf4cd01540eef.zip |
locate: use g_utf8_casefold() instead of string_toupper()
string_toupper() and strDupToUpper() were not able to deal with
character sets other than US-ASCII. Use GLib's g_utf8_casefold()
for strings.
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/utils.h b/src/utils.h index 9a83b6f52..5f3b26c5f 100644 --- a/src/utils.h +++ b/src/utils.h @@ -31,10 +31,6 @@ char *myFgets(char *buffer, int bufferSize, FILE * fp); -char *string_toupper(char *str); - -char *strDupToUpper(char *str); /* avoid, use string_toupper instead */ - void stripReturnChar(char *string); void my_usleep(long usec); |