aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/kdepim44/files/patch-kmail-partNode.cpp
blob: c15a8f6f5a9cba242c87608350a99b14bd9f35b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- kmail/partNode.cpp.orig Tue Aug  2 00:59:57 2005
+++ kmail/partNode.cpp  Tue Aug  2 01:01:06 2005
@@ -36,6 +36,7 @@
 #include "kmmimeparttree.h"
 #include <mimelib/utility.h>
 #include <qregexp.h>
+#include <kasciistricmp.h>
 
 /*
   ===========================================================================
@@ -414,7 +415,7 @@
 partNode* partNode::findNodeForDwPart( DwBodyPart* part )
 {
     partNode* found = 0;
-    if( dwPart()->partId() == part->partId() )
+    if( kasciistricmp( dwPart()->partId(), part->partId() ) == 0 )
         return this;
     if( mChild )
         found = mChild->findNodeForDwPart( part );