Skip to content

Commit

Permalink
[Update] Wrong index fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Casero committed May 13, 2014
1 parent 35ce20b commit 371a0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ACPReminder/ACPReminder.m
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ - (void) createLocalNotification {
[self cancelThisKindOfNotification:kACPLocalNotificationApp];

NSNumber* timePeriodIndex = [self getTimePeriodIndex];
NSNumber* periodValue = [self getTimePeriodValue:timePeriodIndex];
NSNumber* periodValue = [self getTimePeriodValue:(NSUInteger)[timePeriodIndex integerValue]];
NSUInteger messageIndex = [self getMessageIndex];
NSString * message = self.messages[messageIndex];

Expand Down

0 comments on commit 371a0eb

Please sign in to comment.