aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-09-18 08:19:55 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-09-18 08:19:55 +0000
commit2f027f53fc90086541f242cf57c39c8d6857002d (patch)
tree693fb8208a4f803dda7423efc5f2af3a8421e26c /x11-toolkits
parentc997a8b37dc583ad9307fbafbb426111fbc32314 (diff)
downloadports-2f027f53fc90086541f242cf57c39c8d6857002d.tar.gz
ports-2f027f53fc90086541f242cf57c39c8d6857002d.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/qt33/files/patch-utf8-bug-qt38
1 files changed, 6 insertions, 2 deletions
diff --git a/x11-toolkits/qt33/files/patch-utf8-bug-qt3 b/x11-toolkits/qt33/files/patch-utf8-bug-qt3
index 43e84a99f1e9..3657e8e92236 100644
--- a/x11-toolkits/qt33/files/patch-utf8-bug-qt3
+++ b/x11-toolkits/qt33/files/patch-utf8-bug-qt3
@@ -8,8 +8,12 @@
int need;
bool headerDone;
public:
-@@ -167,8 +168,9 @@
- result.setLength( len ); // worst case
+@@ -164,11 +165,12 @@
+ QString toUnicode(const char* chars, int len)
+ {
+ QString result;
+- result.setLength( len ); // worst case
++ result.setLength( len + 1 ); // worst case
QChar *qch = (QChar *)result.unicode();
uchar ch;
+ int error = -1;