]> err.no Git - sope/commitdiff
minor improvement to quoting
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 9 Feb 2005 12:26:27 +0000 (12:26 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 9 Feb 2005 12:26:27 +0000 (12:26 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@547 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-core/NGExtensions/ChangeLog
sope-core/NGExtensions/FdExt.subproj/NSString+misc.m
sope-core/NGExtensions/Version

index 3b6e4ab514cf441ab34c27027b8280673c013509..862a630a7e61a060c85494d6fa7bc3a26e306240 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-09  Helge Hess  <helge.hess@opengroupware.org>
+
+       * FdExt.subproj/NSString+misc.m: do not quote the last newline if the
+         newline is the last char in the string (v4.5.143)
+
 2005-02-08  Helge Hess  <helge.hess@opengroupware.org>
 
        * FdExt.subproj/NSString+misc.m: added new method
index ebb30279b9d7e3b6c4b8bf06234b145c53182572..7d14a220417e06bde3cdf683f3a267d75681ab66 100644 (file)
     targetBuf[nl] = sourceBuf[i];
     nl++;
     
-    if (sourceBuf[i] == '\n') {
+    if (sourceBuf[i] == '\n' && (i + 1 != len)) {
       targetBuf[nl] = '>'; nl++;
       targetBuf[nl] = ' '; nl++;
     }
index 639e30fcfd4f9abd5944293813a309271a5e8093..5bbbefc93b9fb357f183b2540ce635396c091361 100644 (file)
@@ -1,6 +1,6 @@
 # version
 
-SUBMINOR_VERSION:=142
+SUBMINOR_VERSION:=143
 
 # v4.3.115 requires libFoundation v1.0.59
 # v4.2.72  requires libEOControl  v4.2.39