From e77407bf104d05c537f8f556ad9702ea98224d3c Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Sun, 28 Mar 2004 21:00:23 +0000 Subject: [PATCH] Corrected a spelling error strup => strdup. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@525 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- support.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.30.2