- 二回目以降の起動時に落ちることがある問題を修正
- v0.1.1へ
@@ -19,7 +19,7 @@ | ||
19 | 19 | <key>CFBundleSignature</key> |
20 | 20 | <string>????</string> |
21 | 21 | <key>CFBundleVersion</key> |
22 | - <string>0.1.0</string> | |
22 | + <string>0.1.1</string> | |
23 | 23 | <key>NSPrincipalClass</key> |
24 | 24 | <string>iPhotoUploader</string> |
25 | 25 | <key>NSMainNibFile</key> |
@@ -54,7 +54,7 @@ | ||
54 | 54 | m_exMgr = fp8; |
55 | 55 | m_srvMgr = [[PUServiceManager alloc] init]; |
56 | 56 | |
57 | - NSString* about = [NSString stringWithFormat:@"v%@ Copyright (c) 2008 itok (http://itok.jp/)", [[[NSBundle bundleWithIdentifier:BUNDLE_IDENTIFIER] infoDictionary] objectForKey:@"CFBundleVersion"]]; | |
57 | + NSString* about = [NSString stringWithFormat:@"v%@ Copyright (c) 2008-2009 itok (http://itok.jp/)", [[[NSBundle bundleWithIdentifier:BUNDLE_IDENTIFIER] infoDictionary] objectForKey:@"CFBundleVersion"]]; | |
58 | 58 | [self setValue:about forKey:@"about"]; |
59 | 59 | } |
60 | 60 | return self; |
@@ -145,12 +145,13 @@ | ||
145 | 145 | } |
146 | 146 | |
147 | 147 | PUUserDefaults* defaults = [PUUserDefaults standardUserDefaults]; |
148 | - NSDictionary* dic = [defaults objectForKey:_saveKey]; | |
148 | + NSDictionary* dic = [[defaults objectForKey:_saveKey] copy]; | |
149 | 149 | NSEnumerator* enume = [dic keyEnumerator]; |
150 | 150 | id key; |
151 | 151 | while (key = [enume nextObject]) { |
152 | 152 | [self setValue:[dic objectForKey:key] forKey:key]; |
153 | 153 | } |
154 | + [dic release]; | |
154 | 155 | } |
155 | 156 | |
156 | 157 | @end |