summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/rfcdecoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/imap4/rfcdecoder.cc')
-rw-r--r--kioslaves/imap4/rfcdecoder.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kioslaves/imap4/rfcdecoder.cc b/kioslaves/imap4/rfcdecoder.cc
index 88cbe2abd..4eeb207d5 100644
--- a/kioslaves/imap4/rfcdecoder.cc
+++ b/kioslaves/imap4/rfcdecoder.cc
@@ -28,7 +28,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <textcodec.h>
+#include <tqtextcodec.h>
#include <tqbuffer.h>
#include <tqregexp.h>
#include <kmdcodec.h>
@@ -653,13 +653,13 @@ rfcDecoder::decodeRFC2231String (const TQString & _str)
{
if (st.at (p) == 37)
{
- ch = st.at (p + 1).latin1 () - 48;
+ ch = st.tqat (p + 1).latin1 () - 48;
if (ch > 16)
ch -= 7;
- ch2 = st.at (p + 2).latin1 () - 48;
+ ch2 = st.tqat (p + 2).latin1 () - 48;
if (ch2 > 16)
ch2 -= 7;
- st.at (p) = ch * 16 + ch2;
+ st.tqat (p) = ch * 16 + ch2;
st.remove (p + 1, 2);
}
p++;