summaryrefslogtreecommitdiffstats
path: root/src/corelib/codecs/qbig5codec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/codecs/qbig5codec.cpp')
-rw-r--r--src/corelib/codecs/qbig5codec.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/codecs/qbig5codec.cpp b/src/corelib/codecs/qbig5codec.cpp
index 5957d1eda3..6fd87bdfc9 100644
--- a/src/corelib/codecs/qbig5codec.cpp
+++ b/src/corelib/codecs/qbig5codec.cpp
@@ -1913,6 +1913,7 @@ QByteArray QBig5hkscsCodec::convertFromUnicode(const QChar *uc, int len, Convert
} else {
// Error
*cursor++ = replacement;
+ ++invalid;
}
}
rstr.resize(cursor - (uchar*)rstr.constData());