diff options
| author | Vadim Shpakovski | 2014-04-06 21:04:36 +0300 | 
|---|---|---|
| committer | Vadim Shpakovski | 2014-04-06 21:04:36 +0300 | 
| commit | ea5a30fe6d52fdc77c907ca044367008a5b5a7e5 (patch) | |
| tree | 512daf3c46545f76ed60be162729ab017f5c4905 | |
| parent | 28c656d654864d455fced6eae19e29381c29fc40 (diff) | |
| parent | 48a311eb9096cf7680a91fc7906c0487fce33473 (diff) | |
| download | MASShortcut-ea5a30fe6d52fdc77c907ca044367008a5b5a7e5.tar.bz2 | |
Merge pull request #32 from iluuu1994/master
Fixed string literal warning
| -rw-r--r-- | MASShortcutView.m | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/MASShortcutView.m b/MASShortcutView.m index ba28e47..9f1b7f4 100644 --- a/MASShortcutView.m +++ b/MASShortcutView.m @@ -380,9 +380,9 @@ void *kUserDataHint = &kUserDataHint;                              [weakSelf activateEventMonitoring:NO];                              NSString *format = NSLocalizedString(@"The key combination %@ cannot be used",                                                                   @"Title for alert when shortcut is already used"); -                            NSRunCriticalAlertPanel([NSString stringWithFormat:format, shortcut], error.localizedDescription, +                            NSRunCriticalAlertPanel([NSString stringWithFormat:format, shortcut], @"%@",                                                      NSLocalizedString(@"OK", @"Alert button when shortcut is already used"), -                                                    nil, nil); +                                                    nil, nil, error.localizedDescription);                              weakSelf.shortcutPlaceholder = nil;                              [weakSelf activateResignObserver:YES];                              [weakSelf activateEventMonitoring:YES]; | 
