summaryrefslogtreecommitdiffstats
path: root/libkmime/kmime_message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkmime/kmime_message.cpp')
-rw-r--r--libkmime/kmime_message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkmime/kmime_message.cpp b/libkmime/kmime_message.cpp
index 0d516ecc7..a7ce3ca8a 100644
--- a/libkmime/kmime_message.cpp
+++ b/libkmime/kmime_message.cpp
@@ -96,7 +96,7 @@ void Message::assemble()
newHead+=contentTransferEncoding()->as7BitString()+"\n";
//X-Headers
- int pos=h_ead.find("\nX-");
+ int pos=h_ead.tqfind("\nX-");
if(pos>-1) //we already have some x-headers => "recycle" them
newHead+=h_ead.mid(pos+1, h_ead.length()-pos-1);
else if(h_eaders && !h_eaders->isEmpty()) {