[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdepim/korganizer
From: Till Adam <adam () kde ! org>
Date: 2007-06-02 10:41:21
Message-ID: 1180780881.335747.4065.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 670650 by tilladam:
Backport of:
------------------------------------------------------------------------
r670645 | tilladam | 2007-06-02 12:26:16 +0200 (Sat, 02 Jun 2007) | 3 lines
Fix stupid off by one, which broke encoding in KMail. I am not kidding you.
(Kolab Issue 1738)
------------------------------------------------------------------------
M +2 -1 komailclient.cpp
--- branches/KDE/3.5/kdepim/korganizer/komailclient.cpp #670649:670650
@@ -196,7 +196,8 @@
int idx = attachment.find("METHOD");
if (idx>=0) {
idx = attachment.find(':',idx)+1;
- meth = attachment.mid(idx,attachment.find('\n',idx)-idx);
+ const int newline = attachment.find('\n',idx);
+ meth = attachment.mid(idx, newline - idx - 1);
meth = meth.lower().stripWhiteSpace();
} else {
meth = "publish";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic