cocoaTouch/MainMenuViewController.m
changeset 3332 3c90a923f156
parent 3325 652a8ebdf667
child 3335 2520ee7a5484
--- a/cocoaTouch/MainMenuViewController.m	Sat Apr 10 19:04:39 2010 +0000
+++ b/cocoaTouch/MainMenuViewController.m	Sat Apr 10 20:48:09 2010 +0000
@@ -85,12 +85,12 @@
     
     // create settings.plist
     NSMutableDictionary *saveDict = [[NSMutableDictionary alloc] init];
-	
+
     [saveDict setObject:@"" forKey:@"username"];
     [saveDict setObject:@"" forKey:@"password"];
-    [saveDict setObject:@"1" forKey:@"music"];
-    [saveDict setObject:@"1" forKey:@"sounds"];
-    [saveDict setObject:@"0" forKey:@"alternate"];
+    [saveDict setObject:[NSNumber numberWithBool:YES] forKey:@"music"];
+    [saveDict setObject:[NSNumber numberWithBool:YES] forKey:@"sound"];
+    [saveDict setObject:[NSNumber numberWithBool:NO] forKey:@"alternate"];
 
     NSString *filePath = [[SDLUIKitDelegate sharedAppDelegate] dataFilePath:@"settings.plist"];
     [saveDict writeToFile:filePath atomically:YES];