From: Ryan Flegel Date: Fri, 6 Aug 2004 01:36:47 +0000 (+0000) Subject: - fixed search path for datadir X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=538ead9de5261fbfc4dd89788dca94728a438f2b;p=supertux.git - fixed search path for datadir SVN-Revision: 1714 --- diff --git a/lib/app/setup.cpp b/lib/app/setup.cpp index 0cbcb928d..75dd5f5e4 100644 --- a/lib/app/setup.cpp +++ b/lib/app/setup.cpp @@ -312,7 +312,7 @@ void Setup::directories(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/" + package_symbol_name; // SuperTux run from PATH