From 538ead9de5261fbfc4dd89788dca94728a438f2b Mon Sep 17 00:00:00 2001 From: Ryan Flegel Date: Fri, 6 Aug 2004 01:36:47 +0000 Subject: [PATCH] - fixed search path for datadir SVN-Revision: 1714 --- lib/app/setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0