blob: a3a5cabb78e88f1204e8abbf67a93aad3f5db142 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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)
{
|