From d3f7a9d6f1b8f6e24fb49aaa8caeaa7623ae48b5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 23 Jul 2011 17:13:36 -0500 Subject: Apply all Qt3.3.8d patches NOTE: This will *likely* break compilation of TQt4 Please wait a few days for fixes to be committed as needed! --- tqtinterface/qt4/src/codecs/tqutfcodec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tqtinterface/qt4/src/codecs/tqutfcodec.cpp') diff --git a/tqtinterface/qt4/src/codecs/tqutfcodec.cpp b/tqtinterface/qt4/src/codecs/tqutfcodec.cpp index 5b263e9..3a80d31 100644 --- a/tqtinterface/qt4/src/codecs/tqutfcodec.cpp +++ b/tqtinterface/qt4/src/codecs/tqutfcodec.cpp @@ -303,7 +303,7 @@ public: TQString toUnicode(const char* chars, int len) { TQString result; - result.setLength( len ); // worst case + result.setLength( len + 1 ); // worst case TQChar *qch = (TQChar *)result.tqunicode(); TQChar ch; while ( len-- ) { -- cgit v1.2.3