summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSocapex <philippe_groarke@yahoo.ca>2013-07-27 16:59:22 -0400
committerSocapex <philippe_groarke@yahoo.ca>2014-01-22 12:55:01 -0500
commit63c96d61aee960639fde3ad938692afd30cd7890 (patch)
treeea689e3347b6f37d8f9a6c2076ca440ce7c36dc4
parentcde3e5910e4fed72f4d3e44050ece4e86664641c (diff)
downloadmanaplus-63c96d61aee960639fde3ad938692afd30cd7890.tar.gz
manaplus-63c96d61aee960639fde3ad938692afd30cd7890.tar.bz2
manaplus-63c96d61aee960639fde3ad938692afd30cd7890.tar.xz
manaplus-63c96d61aee960639fde3ad938692afd30cd7890.zip
xcode stuff
-rw-r--r--Xcode/ManaPlus.xcodeproj/project.pbxproj2
-rw-r--r--src/resources/resourcemanager.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/Xcode/ManaPlus.xcodeproj/project.pbxproj b/Xcode/ManaPlus.xcodeproj/project.pbxproj
index e0435a8ca..34b6207b4 100644
--- a/Xcode/ManaPlus.xcodeproj/project.pbxproj
+++ b/Xcode/ManaPlus.xcodeproj/project.pbxproj
@@ -4581,6 +4581,7 @@
OTHER_CPLUSPLUSFLAGS = (
"-DUSE_INTERNALGUICHAN",
"-DUSE_OPENGL",
+ "-DDEBUG_LEAKS",
);
OTHER_LDFLAGS = (
"$(SRCROOT)/libs/libidn.a",
@@ -4642,6 +4643,7 @@
OTHER_CPLUSPLUSFLAGS = (
"-DUSE_INTERNALGUICHAN",
"-DUSE_OPENGL",
+ "-DDEBUG_LEAKS",
);
OTHER_LDFLAGS = (
"$(SRCROOT)/libs/libidn.a",
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp
index 6b87e6cdf..4cc7a4574 100644
--- a/src/resources/resourcemanager.cpp
+++ b/src/resources/resourcemanager.cpp
@@ -182,7 +182,7 @@ void ResourceManager::cleanUp(Resource *const res)
delete res;
#ifdef DEBUG_LEAKS
- cleanOrpahns(true);
+ cleanOrphans(true);
#endif
}