freebsd-ports/audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp
Michael Nottebrock cc600c1ce2 - Fix build on 4.x
- Add dependencies on taglib, mpeg4ip-libmp4v2
- Makefile cosmetics
2006-04-10 10:08:48 +00:00

20 lines
417 B
C++

--- 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)
{