diff options
Diffstat (limited to 'audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp')
-rw-r--r-- | audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp b/audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp new file mode 100644 index 000000000000..a3a5cabb78e8 --- /dev/null +++ b/audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp @@ -0,0 +1,20 @@ +--- lib/utf8/utf8util.cpp.orig Mon Jul 11 05:01:23 2005 ++++ lib/utf8/utf8util.cpp Wed Sep 14 17:19:42 2005 +@@ -38,7 +38,7 @@ + char *dest; + string to; + +- to.clear(); ++ to = ""; + ret = utf8_encode(from.c_str(), &dest); + if (ret >= 0) + { +@@ -54,7 +54,7 @@ + char *dest; + string to; + +- to.clear(); ++ to = ""; + ret = utf8_decode(from.c_str(), &dest); + if (ret >= 0) + { |