]> err.no Git - scalable-opengroupware.org/commitdiff
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1261 d1b88da0-ebda-0310...
authorwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 12 Nov 2007 15:25:21 +0000 (15:25 +0000)
committerwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 12 Nov 2007 15:25:21 +0000 (15:25 +0000)
ChangeLog
UI/MailPartViewers/UIxMailPartTextViewer.m

index e7cd85b127b590c816fd1f729d666ea65848008d..bd3c795aeeacebc1d816c9a9381e5920bb0d2ce3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-12  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
+
+       * UI/MailPartViewers/UIxMailPartTextViewer.m ([NSString
+       -stringByConvertingCRLNToHTML]): build the returned NSString
+       without the ending \0.
+
 2007-11-09  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
 
        * UI/MailPartViewers/UIxMailPartICalViewer.m
index d4ff0ccdc8f4c3fd354cb0a236feac9189212e3a..6e9b6a26a1f16a8046a0211ed866c2055dca6ae1 100644 (file)
@@ -83,7 +83,7 @@
   *destChar = 0;
 
   convertedString = [[NSString alloc] initWithBytes: newString
-                                     length: (destChar + 1 - newString)
+                                     length: (destChar - newString)
                                      encoding: NSUTF8StringEncoding];
   [convertedString autorelease];
   free (newString);