diff options
author | kwolekr <mirrorisim@gmail.com> | 2013-01-29 11:46:29 -0500 |
---|---|---|
committer | kwolekr <mirrorisim@gmail.com> | 2013-02-06 01:13:19 -0500 |
commit | f148ae58c3c0e2b6d6c22c913492193021cbc4c3 (patch) | |
tree | dff8456d2d4aec6e1a44cf1ac4bafb0a942b51e8 | |
parent | bd55b9cc0ff37d97be02ac3b3e49ef29c6917101 (diff) | |
download | minetest-f148ae58c3c0e2b6d6c22c913492193021cbc4c3.tar.gz minetest-f148ae58c3c0e2b6d6c22c913492193021cbc4c3.tar.bz2 minetest-f148ae58c3c0e2b6d6c22c913492193021cbc4c3.zip |
Fix assertion condition in initializePaths()
-rw-r--r-- | src/porting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/porting.cpp b/src/porting.cpp index de15de9ce..f8a2cca5c 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -220,7 +220,7 @@ void initializePaths() //TODO: Test this code char buf[BUFSIZ]; uint32_t len = sizeof(buf); - assert(_NSGetExecutablePath(buf, &len) != 0); + assert(_NSGetExecutablePath(buf, &len) != -1); pathRemoveFile(buf, '/'); |