Skip to content

Commit

Permalink
fixed some catch.hpp includes in the tests, fixed a deprecated event …
Browse files Browse the repository at this point in the history
…cast in appleevents.mm
  • Loading branch information
evan-erdos authored and CelticMinstrel committed Dec 22, 2015
1 parent df54ee1 commit a44b298
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/pcedit/pc.appleevents.mm
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ -(BOOL)application:(NSApplication*) app openFile:(NSString*) file {
-(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

2 changes: 1 addition & 1 deletion test/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//

#include <catch.hpp>
#include "catch.hpp"
#include "scenario.hpp"
#include "creature.hpp"
#include "creatlist.hpp"
Expand Down
2 changes: 1 addition & 1 deletion test/item_legacy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//

#include <catch.hpp>
#include "catch.hpp"
#include "item.hpp"
#include "oldstructs.hpp"
#include "spell.hpp"
Expand Down
2 changes: 1 addition & 1 deletion test/monst_legacy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//

#include <catch.hpp>
#include "catch.hpp"
#include "creature.hpp"
#include "oldstructs.hpp"

Expand Down
2 changes: 1 addition & 1 deletion test/ter_legacy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//

#include <catch.hpp>
#include "catch.hpp"
#include "terrain.hpp"
#include "oldstructs.hpp"

Expand Down

0 comments on commit a44b298

Please sign in to comment.