From: Kalle Wallin Date: Sun, 28 Mar 2004 21:00:23 +0000 (+0000) Subject: Corrected a spelling error strup => strdup. X-Git-Tag: v0.12_alpha1~630 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e77407bf104d05c537f8f556ad9702ea98224d3c;p=ncmpc.git Corrected a spelling error strup => strdup. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@525 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- diff --git a/support.c b/support.c index 2b5d46c..488b4cc 100644 --- a/support.c +++ b/support.c @@ -158,7 +158,7 @@ char * utf8_to_locale(char *str) { if( noconvert ) - return g_strup(str); + return g_strdup(str); return g_locale_from_utf8(str, -1, NULL, NULL, NULL); } @@ -166,7 +166,7 @@ char * locale_to_utf8(char *str) { if( noconvert ) - return g_strup(str); + return g_strdup(str); return g_locale_to_utf8(str, -1, NULL, NULL, NULL); }