fixed some catch.hpp includes in the tests, fixed a deprecated event cast in appleevents.mm

This commit is contained in:
Ben Scott
2015-12-20 02:05:04 -05:00
committed by Celtic Minstrel
parent df54ee1757
commit a44b298012
5 changed files with 5 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ void set_up_apple_events(int, char*[]) {
-(NSApplicationTerminateReply)applicationShouldTerminate: (NSApplication*)sender {
(void) sender; // Suppress "unused parameter" warning
All_Done = verify_restore_quit("save-quit");
return All_Done;
return All_Done ? NSTerminateNow : NSTerminateCancel;
}
@end