aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mahogany/files/patch-src-classes-MessageView.cpp
blob: c18cfb7e2d0974879d267f4dfc95875d6eea0c4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/classes/MessageView.cpp.orig    Mon Jan  1 18:26:12 2007
+++ src/classes/MessageView.cpp Mon Jan  1 18:51:17 2007
@@ -2473,7 +2473,7 @@
    CHECK( !cidOrig.empty(), false, "empty CID not allowed" );
 
    String cid;
-   if ( *cidOrig.begin() == '<' && *cidOrig.rbegin() == '>' )
+   if ( *cidOrig.begin() == '<' && cidOrig.Last() == '>' )
       cid.assign(cidOrig, 1, cidOrig.length() - 2);
    else
       cid = cidOrig;