From 5316cabf3087067eab3da139abbf6ecc899ef707 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Fri, 26 Feb 2010 23:35:27 -0800 Subject: [PATCH] Fix for capp config not working. Reviewed by me. --- Tools/capp/Configuration.j | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Tools/capp/Configuration.j b/Tools/capp/Configuration.j index a58f042d5..df95d5a95 100644 --- a/Tools/capp/Configuration.j +++ b/Tools/capp/Configuration.j @@ -119,10 +119,12 @@ var DefaultDictionary = nil, - (void)save { - if (![self path]) + var path = [self path]; + + if (!path) return; - plist.writePlist([self path], dictionary); + CFPropertyList.writePropertyListToFile(dictionary, path); } @end