summaryrefslogtreecommitdiffstats
path: root/src/corelib/codecs
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-04-24 09:39:47 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-04-24 10:42:41 (GMT)
commitfbdf2d74f010c85c85af4ee9ea793039cccf2354 (patch)
treebfaaba699bdbff6929b6499db8902820547a1065 /src/corelib/codecs
parent294f32f41da900ad3ae70e1546ea0057f8864d95 (diff)
downloadQt-fbdf2d74f010c85c85af4ee9ea793039cccf2354.zip
Qt-fbdf2d74f010c85c85af4ee9ea793039cccf2354.tar.gz
Qt-fbdf2d74f010c85c85af4ee9ea793039cccf2354.tar.bz2
Return the correct MIB number for TSCII. When the code was
written, IANA hadn't assigned one. Requested/spotted by Nokia i18n team. Task-number: 251790 Reviewed-by: Brad Reviewed-by: Denis AutoTest: In this submit.
Diffstat (limited to 'src/corelib/codecs')
-rw-r--r--src/corelib/codecs/qtsciicodec.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/codecs/qtsciicodec.cpp b/src/corelib/codecs/qtsciicodec.cpp
index 14d2c9c..0ec0567 100644
--- a/src/corelib/codecs/qtsciicodec.cpp
+++ b/src/corelib/codecs/qtsciicodec.cpp
@@ -180,8 +180,7 @@ QByteArray QTsciiCodec::name() const
*/
int QTsciiCodec::mibEnum() const
{
- /* There is no MIBEnum for TSCII now */
- return -3197;
+ return 2107;
}
static const int UnToTsLast = 124; // 125 items -- so the last will be 124