discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Small Patch for NSPropertyList.m


From: Chris Vetter
Subject: Small Patch for NSPropertyList.m
Date: Fri, 7 Oct 2005 10:21:37 +0200 (MEST)

Hi,

occasionally I have to modify ~/GNUstep/Defaults/.GNUstepDefaults by hand
and noticed that BOOLs are written with an additional \n -- which looks
kinda weird:

[...]
    GNUMail = {
        ACCOUNTS = {
            General = {
                ENABLED = <*BY>
;
                MAILBOXES = {
[...]

I know, it's just cosmetics...
The following unified DIFF is against the core.20051007.tar.bz2
CVS-snapshot.

--- NSPropertyList.m.ORG        Sat Jul  9 04:30:49 2005
+++ NSPropertyList.m    Fri Oct  7 10:09:13 2005
@@ -1590,7 +1590,7 @@
                }
              else if (x == NSPropertyListGNUstepFormat)
                {
-                 [dest appendBytes: "<*BY>\n" length: 6];
+                 [dest appendBytes: "<*BY>" length: 5];
                }
              else
                {
@@ -1605,7 +1605,7 @@
                }
              else if (x == NSPropertyListGNUstepFormat)
                {
-                 [dest appendBytes: "<*BN>\n" length: 6];
+                 [dest appendBytes: "<*BN>" length: 5];
                }
              else
                {

-- 
Chris

-- 
Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat,
DSL-Flatrate für nur 4,99 Euro/Monat*  http://www.gmx.net/de/go/dsl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]