X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=lib%2Fapp%2Fsetup.cpp;h=7f3917b5e975b0f8a6b5225213c88d84ee3efa8c;hb=c7fe25b98f752162f244a1d7bd8a45807c94d270;hp=acb17497a8e000d85642af2323f6f3d2568a753f;hpb=06150b7e9b2e8c113710f518c02d2dd68e2746ce;p=supertux.git diff --git a/lib/app/setup.cpp b/lib/app/setup.cpp index acb17497a..7f3917b5e 100644 --- a/lib/app/setup.cpp +++ b/lib/app/setup.cpp @@ -322,7 +322,7 @@ void Setup::directories() { 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 + "../../data/"; //SuperTux run from source dir (with libtool script)