Update of /cvsroot/super-tux/supertux/lib/app
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31673/lib/app
Modified Files:
setup.cpp
Log Message:
- fixed search path for datadir
Index: setup.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/lib/app/setup.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- setup.cpp 28 Jul 2004 21:47:43 -0000 1.10
+++ setup.cpp 6 Aug 2004 01:36:47 -0000 1.11
@@ -312,7 +312,7 @@
{
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
|