Fix possible exception when retrieving reminder

Fixes #2647
Fixes #2648
pull/25/head
Francis Lachapelle 2014-03-10 14:47:01 -04:00
parent 78636f0396
commit cbd22762c3
2 changed files with 10 additions and 4 deletions

6
NEWS
View File

@ -1,3 +1,9 @@
2.2.X (2014-03-DD)
------------------
Bug fixes
- fixed possible exception when retrieving the default event reminder value on 64bit architectures (#2647, #2648)
2.2.1 (2014-03-07)
------------------

View File

@ -568,7 +568,7 @@ static NSArray *reminderValues = nil;
- (NSString *) reminder
{
NSString *value;
int index;
NSUInteger index;
value = [userDefaults calendarDefaultReminder];
if (value != nil)