diff options
Diffstat (limited to 'src/codecs/qjpunicode.cpp')
-rw-r--r-- | src/codecs/qjpunicode.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/codecs/qjpunicode.cpp b/src/codecs/qjpunicode.cpp index 2d9033f..3071dea 100644 --- a/src/codecs/qjpunicode.cpp +++ b/src/codecs/qjpunicode.cpp @@ -778,32 +778,32 @@ QJpUnicodeConv *QJpUnicodeConv::newConverter(int rule) s = env.mid(i, j - i).stripWhiteSpace(); i = j + 1; } - if (qstricmp(s, "unicode-0.9") == 0) { + if (tqstricmp(s, "unicode-0.9") == 0) { rule = (rule & 0xff00) | Unicode; - } else if (qstricmp(s, "unicode-0201") == 0) { + } else if (tqstricmp(s, "unicode-0201") == 0) { rule = (rule & 0xff00) | Unicode_JISX0201; - } else if (qstricmp(s, "unicode-ascii") == 0) { + } else if (tqstricmp(s, "unicode-ascii") == 0) { rule = (rule & 0xff00) | Unicode_ASCII; - } else if (qstricmp(s, "jisx0221-1995") == 0) { + } else if (tqstricmp(s, "jisx0221-1995") == 0) { rule = (rule & 0xff00) | JISX0221_JISX0201; - } else if ((qstricmp(s, "open-0201") == 0) || - (qstricmp(s, "open-19970715-0201") == 0)) { + } else if ((tqstricmp(s, "open-0201") == 0) || + (tqstricmp(s, "open-19970715-0201") == 0)) { rule = (rule & 0xff00) | JISX0221_JISX0201; - } else if ((qstricmp(s, "open-ascii") == 0) || - (qstricmp(s, "open-19970715-ascii") == 0)) { + } else if ((tqstricmp(s, "open-ascii") == 0) || + (tqstricmp(s, "open-19970715-ascii") == 0)) { rule = (rule & 0xff00) | JISX0221_ASCII; - } else if ((qstricmp(s, "open-ms") == 0) || - (qstricmp(s, "open-19970715-ms") == 0)) { + } else if ((tqstricmp(s, "open-ms") == 0) || + (tqstricmp(s, "open-19970715-ms") == 0)) { rule = (rule & 0xff00) | Microsoft_CP932; - } else if (qstricmp(s, "cp932") == 0) { + } else if (tqstricmp(s, "cp932") == 0) { rule = (rule & 0xff00) | Microsoft_CP932; - } else if (qstricmp(s, "jdk1.1.7") == 0) { + } else if (tqstricmp(s, "jdk1.1.7") == 0) { rule = (rule & 0xff00) | Sun_JDK117; - } else if (qstricmp(s, "nec-vdc") == 0) { + } else if (tqstricmp(s, "nec-vdc") == 0) { rule = rule | NEC_VDC; - } else if (qstricmp(s, "ibm-vdc") == 0) { + } else if (tqstricmp(s, "ibm-vdc") == 0) { rule = rule | IBM_VDC; - } else if (qstricmp(s, "udc") == 0) { + } else if (tqstricmp(s, "udc") == 0) { rule = rule | UDC; } } |