diff --git a/Applications/TextMate/src/AppController.mm b/Applications/TextMate/src/AppController.mm index 110f44c5..81ca6c0d 100644 --- a/Applications/TextMate/src/AppController.mm +++ b/Applications/TextMate/src/AppController.mm @@ -242,8 +242,8 @@ BOOL HasDocumentWindow (NSArray* windows) if(promptUser) { - NSInteger choice = NSRunAlertPanel(@"Disable Session Restore?", @"%@", @"Disable", @"Restore Documents", nil, promptUser); - if(choice == NSAlertDefaultReturn) // "Disable" + NSInteger choice = NSRunAlertPanel(@"Disable Session Restore?", @"%@", @"Restore Documents", @"Disable", nil, promptUser); + if(choice == NSAlertAlternateReturn) // "Disable" restoreSession = NO; }