From: wolfgang Date: Mon, 12 Nov 2007 15:25:21 +0000 (+0000) Subject: git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1261 d1b88da0-ebda-0310... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e89cc2e5534bcdf89a68d21fdd2a7695e0cdfbf1;p=scalable-opengroupware.org git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1261 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/ChangeLog b/ChangeLog index e7cd85b1..bd3c795a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-11-12 Wolfgang Sourdeau + + * UI/MailPartViewers/UIxMailPartTextViewer.m ([NSString + -stringByConvertingCRLNToHTML]): build the returned NSString + without the ending \0. + 2007-11-09 Wolfgang Sourdeau * UI/MailPartViewers/UIxMailPartICalViewer.m diff --git a/UI/MailPartViewers/UIxMailPartTextViewer.m b/UI/MailPartViewers/UIxMailPartTextViewer.m index d4ff0ccd..6e9b6a26 100644 --- a/UI/MailPartViewers/UIxMailPartTextViewer.m +++ b/UI/MailPartViewers/UIxMailPartTextViewer.m @@ -83,7 +83,7 @@ *destChar = 0; convertedString = [[NSString alloc] initWithBytes: newString - length: (destChar + 1 - newString) + length: (destChar - newString) encoding: NSUTF8StringEncoding]; [convertedString autorelease]; free (newString);