mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-10 12:44:53 +00:00
Fix base::get_app_path() for Mac OS X
This commit is contained in:
parent
622e966a8c
commit
62c5bdbb8f
@ -95,12 +95,11 @@ std::string get_app_path()
|
||||
|
||||
#else
|
||||
|
||||
if (readlink("/proc/self/exe", &path[0], path.size()) > 0)
|
||||
return std::string(&path[0]);
|
||||
readlink("/proc/self/exe", &path[0], path.size());
|
||||
|
||||
#endif
|
||||
|
||||
return std::string();
|
||||
return std::string(&path[0]);
|
||||
}
|
||||
|
||||
std::string get_temp_path()
|
||||
|
Loading…
x
Reference in New Issue
Block a user