diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-03-08 13:59:56 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-03-08 14:22:47 (GMT) |
commit | 2e8ee73bd681cfe5898b8c054b0cb4df51663c91 (patch) | |
tree | 88db08a2cf2c041454d52ddd26155c55b4e78b80 /src/corelib | |
parent | be87fa060360139c64dea6854e7667914db47bf4 (diff) | |
download | Qt-2e8ee73bd681cfe5898b8c054b0cb4df51663c91.zip Qt-2e8ee73bd681cfe5898b8c054b0cb4df51663c91.tar.gz Qt-2e8ee73bd681cfe5898b8c054b0cb4df51663c91.tar.bz2 |
Autotest: Fix failing QTextCodec tests
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/codecs/qutfcodec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/codecs/qutfcodec.cpp b/src/corelib/codecs/qutfcodec.cpp index 233bd8f..f747bf7 100644 --- a/src/corelib/codecs/qutfcodec.cpp +++ b/src/corelib/codecs/qutfcodec.cpp @@ -121,7 +121,7 @@ QByteArray QUtf8::convertFromUnicode(const QChar *uc, int len, QTextCodec::Conve } else { // is it one of the Unicode non-characters? if (isUnicodeNonCharacter(u)) { - *cursor = replacement; + *cursor++ = replacement; ++ch; ++invalid; continue; |