X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsetup.cpp;h=4bfd9c30b96025fb44da00d88b0a888f902f386c;hb=2ec1be264110139466ab70422b8f4fd9c22e5c8c;hp=60ebc4c8c66f163d235aa0456cb1144c414dc57b;hpb=b077bfe311e9c8a5d3fb8a78d348a061d67860a6;p=supertux.git diff --git a/src/setup.cpp b/src/setup.cpp index 60ebc4c8c..4bfd9c30b 100644 --- a/src/setup.cpp +++ b/src/setup.cpp @@ -348,10 +348,10 @@ void st_directory_setup(void) { std::string exedir = std::string(dirname(exe_file)) + "/"; - datadir = exedir + "../data/"; // SuperTux run from source dir + datadir = exedir + "../data"; // SuperTux run from source dir if (access(datadir.c_str(), F_OK) != 0) { - datadir = exedir + "../share/supertux/"; // SuperTux run from PATH + datadir = exedir + "../share/supertux"; // SuperTux run from PATH if (access(datadir.c_str(), F_OK) != 0) { // If all fails, fall back to compiled path datadir = DATA_PREFIX; @@ -880,7 +880,6 @@ void st_abort(const std::string& reason, const std::string& details) abort(); } - /* Set Icon (private) */ void seticon(void)