summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a01b91b)
raw | patch | inline | side by side (parent: a01b91b)
author | Kalle Wallin <kaw@linux.se> | |
Sun, 28 Mar 2004 21:00:23 +0000 (21:00 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Sun, 28 Mar 2004 21:00:23 +0000 (21:00 +0000) |
support.c | patch | blob | history |
diff --git a/support.c b/support.c
index 2b5d46ce8b97e68eb33736e9c87194b2df565543..488b4cc532f84a6f6bf864f4dabcc95f2520fb91 100644 (file)
--- a/support.c
+++ b/support.c
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);
}
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);
}