From 7a2a486ba0f90fef07c0a758ebdf36acc253e1a9 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Mon, 4 Jun 2012 00:08:43 +0100 Subject: Shut up a flood of GLib-related compiler warnings. --- protocols/oscar/oscar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/oscar') diff --git a/protocols/oscar/oscar.c b/protocols/oscar/oscar.c index de4efb6a..1366fe41 100644 --- a/protocols/oscar/oscar.c +++ b/protocols/oscar/oscar.c @@ -252,8 +252,7 @@ static char *normalize(const char *s) g_return_val_if_fail((s != NULL), NULL); - u = t = g_strdup(s); - g_strdown(t); + u = t = g_ascii_strdown(s, -1); while (*t && (x < BUF_LEN - 1)) { if (*t != ' ' && *t != '!') { -- cgit v1.2.3