summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/libmail/configfile.cpp
authorsandman <sandman>2002-08-06 00:55:56 (UTC)
committer sandman <sandman>2002-08-06 00:55:56 (UTC)
commitb980135ff5ce5447ca41411b6ace74ce2803fadb (patch) (unidiff)
treec02cdd16e1435855bff16e2c2707f5d5484d43f4 /noncore/unsupported/mail2/libmail/configfile.cpp
parentd96244956f42782f987acc2b5efb32dc1f1dd70a (diff)
downloadopie-b980135ff5ce5447ca41411b6ace74ce2803fadb.zip
opie-b980135ff5ce5447ca41411b6ace74ce2803fadb.tar.gz
opie-b980135ff5ce5447ca41411b6ace74ce2803fadb.tar.bz2
mail2 should display (most) mails now with these workarounds. imap handling
is still buggy by design though.
Diffstat (limited to 'noncore/unsupported/mail2/libmail/configfile.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/libmail/configfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/unsupported/mail2/libmail/configfile.cpp b/noncore/unsupported/mail2/libmail/configfile.cpp
index a5c2b49..082b330 100644
--- a/noncore/unsupported/mail2/libmail/configfile.cpp
+++ b/noncore/unsupported/mail2/libmail/configfile.cpp
@@ -102,10 +102,10 @@ QString ConfigFile::rot13(const QString &input)
102 while(l--) { 102 while(l--) {
103 if (i[l] >= QChar('A') && i[l] <= QChar('M') || 103 if (i[l] >= QChar('A') && i[l] <= QChar('M') ||
104 i[l] >= QChar('a') && i[l] <= QChar('m')) 104 i[l] >= QChar('a') && i[l] <= QChar('m'))
105 i[l] = (char)((int)QChar(l[i])+13); 105 i[l] = QChar(i[l].unicode()+13);
106 else if (i[l] >= QChar('N') && i[l] <= QChar('Z') || 106 else if (i[l] >= QChar('N') && i[l] <= QChar('Z') ||
107 i[l] >= QChar('n') && i[l] <= QChar('z')) 107 i[l] >= QChar('n') && i[l] <= QChar('z'))
108 i[l] = (char)((int)QChar(l[i])-13); 108 i[l] = QChar(i[l].unicode()-13);
109 } 109 }
110 return i; 110 return i;
111} 111}