* Eliminated the C code to shorten long subject lines and add an ellipsis. It doesn...
authorArt Cancro <ajc@citadel.org>
Sun, 11 Jul 2010 03:11:26 +0000 (03:11 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 11 Jul 2010 03:11:26 +0000 (03:11 +0000)
webcit/msg_renderers.c

index 2d1e63f609d01cd7b4615495155c3fe68b7631e9..a734b8bc91323f572e16311e811ff4691fdaade1 100644 (file)
@@ -1242,18 +1242,8 @@ int ParseMessageListHeaders_Detail(StrBuf *Line,
                StrBufAppendBufPlain(Msg->subj, _("(no subject)"), -1,0);
        else {
                StrBuf_RFC822_to_Utf8(Msg->subj, ConversionBuffer, WCC->DefaultCharset, NULL);
-               if ((StrLength(Msg->subj) > 75) && 
-                   (StrBuf_Utf8StrLen(Msg->subj) > 75)) {
-                       StrBuf_Utf8StrCut(Msg->subj, 72);
-                       StrBufAppendBufPlain(Msg->subj, HKEY("..."), 0);
-               }
        }
 
-       if ((StrLength(Msg->from) > 25) && 
-           (StrBuf_Utf8StrLen(Msg->from) > 25)) {
-               StrBuf_Utf8StrCut(Msg->from, 23);
-               StrBufAppendBufPlain(Msg->from, HKEY("..."), 0);
-       }
        return 1;
 }