diff options
author | Socapex <philippe_groarke@yahoo.ca> | 2012-12-29 09:32:57 -0500 |
---|---|---|
committer | Socapex <philippe_groarke@yahoo.ca> | 2012-12-29 09:33:25 -0500 |
commit | f4c2f2e5300c4504e555760094ad4929e2ed2d13 (patch) | |
tree | b9431ecd8eba458422c6f2c4c417341fab0d3fe0 | |
parent | bdc83a287ea5a2ef1cdb676b025344dbac21cfe4 (diff) | |
download | manaplus-f4c2f2e5300c4504e555760094ad4929e2ed2d13.tar.gz manaplus-f4c2f2e5300c4504e555760094ad4929e2ed2d13.tar.bz2 manaplus-f4c2f2e5300c4504e555760094ad4929e2ed2d13.tar.xz manaplus-f4c2f2e5300c4504e555760094ad4929e2ed2d13.zip |
Minor physfswops fix (const char*)
-rw-r--r-- | Xcode/ManaPlus.xcodeproj/project.pbxproj | 2 | ||||
-rw-r--r-- | src/utils/physfsrwops.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/Xcode/ManaPlus.xcodeproj/project.pbxproj b/Xcode/ManaPlus.xcodeproj/project.pbxproj index 4d2aa59d7..aad4ffcd2 100644 --- a/Xcode/ManaPlus.xcodeproj/project.pbxproj +++ b/Xcode/ManaPlus.xcodeproj/project.pbxproj @@ -2032,7 +2032,6 @@ 2BDF4A3F166D5B680054E77F /* textmanager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = textmanager.h; path = ../../src/textmanager.h; sourceTree = "<group>"; }; 2BDF4A40166D5B680054E77F /* textparticle.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = textparticle.cpp; path = ../../src/textparticle.cpp; sourceTree = "<group>"; }; 2BDF4A41166D5B680054E77F /* textparticle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = textparticle.h; path = ../../src/textparticle.h; sourceTree = "<group>"; }; - 2BDF4A42166D5B680054E77F /* textrenderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = textrenderer.h; path = ../../src/textrenderer.h; sourceTree = "<group>"; }; 2BDF4A43166D5B680054E77F /* tileset.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = tileset.h; path = ../../src/tileset.h; sourceTree = "<group>"; }; 2BDF4A44166D5B680054E77F /* touchactions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = touchactions.cpp; path = ../../src/touchactions.cpp; sourceTree = "<group>"; }; 2BDF4A45166D5B680054E77F /* touchactions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = touchactions.h; path = ../../src/touchactions.h; sourceTree = "<group>"; }; @@ -2398,7 +2397,6 @@ 2BDF4A3F166D5B680054E77F /* textmanager.h */, 2BDF4A40166D5B680054E77F /* textparticle.cpp */, 2BDF4A41166D5B680054E77F /* textparticle.h */, - 2BDF4A42166D5B680054E77F /* textrenderer.h */, 2BDF4A43166D5B680054E77F /* tileset.h */, 2BDF4A44166D5B680054E77F /* touchactions.cpp */, 2BDF4A45166D5B680054E77F /* touchactions.h */, diff --git a/src/utils/physfsrwops.cpp b/src/utils/physfsrwops.cpp index 9ca3080a3..a52b072e3 100644 --- a/src/utils/physfsrwops.cpp +++ b/src/utils/physfsrwops.cpp @@ -176,7 +176,7 @@ SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle) } /* PHYSFSRWOPS_makeRWops */ #ifdef __APPLE__ -static bool checkFilePath(char *fname) +static bool checkFilePath(const char *fname) { if (!fname || !*fname) return false; |