diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c index fb021df9..35dbffa0 100644 --- a/src/utils.c +++ b/src/utils.c @@ -104,9 +104,9 @@ guint str_case_hash(gconstpointer key) guint h = *p; if (h) { - h = tolower(h); + h = g_ascii_tolower(h); for (p += 1; *p != '\0'; p++) - h = (h << 5) - h + tolower(*p); + h = (h << 5) - h + g_ascii_tolower(*p); } return h; |