summaryrefslogtreecommitdiff
path: root/src/porting.cpp
diff options
context:
space:
mode:
authorWeblate <42@minetest.ru>2013-02-08 16:29:19 +0100
committerWeblate <42@minetest.ru>2013-02-08 16:29:19 +0100
commita27857e9382fb65140748dbbefb73a463827d4d6 (patch)
tree72bf4dfbd030f04d94573d793aa150574eb9839d /src/porting.cpp
parent0cda2d5193a80b32d3cae8a54d5866cbd3308592 (diff)
parent9b2044351fb3a18e47eec01e9b574aa86485c101 (diff)
downloadminetest-a27857e9382fb65140748dbbefb73a463827d4d6.tar.gz
minetest-a27857e9382fb65140748dbbefb73a463827d4d6.tar.bz2
minetest-a27857e9382fb65140748dbbefb73a463827d4d6.zip
Merge remote branch 'origin/master'
Diffstat (limited to 'src/porting.cpp')
-rw-r--r--src/porting.cpp2
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, '/');