- fixed search path for datadir
authorRyan Flegel <rflegel@gmail.com>
Fri, 6 Aug 2004 01:36:47 +0000 (01:36 +0000)
committerRyan Flegel <rflegel@gmail.com>
Fri, 6 Aug 2004 01:36:47 +0000 (01:36 +0000)
SVN-Revision: 1714

lib/app/setup.cpp

index 0cbcb92..75dd5f5 100644 (file)
@@ -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