mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix assertion condition in initializePaths()
This commit is contained in:
parent
bd55b9cc0f
commit
f148ae58c3
1 changed files with 1 additions and 1 deletions
|
@ -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, '/');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue