datadir finding fix part 2
authorMarek Moeckel <wansti@gmx.de>
Sun, 9 Jan 2005 18:04:30 +0000 (18:04 +0000)
committerMarek Moeckel <wansti@gmx.de>
Sun, 9 Jan 2005 18:04:30 +0000 (18:04 +0000)
SVN-Revision: 2275

lib/app/setup.cpp

index af33a98..c7972c4 100644 (file)
@@ -325,7 +325,7 @@ void Setup::directories()
           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)
+             datadir = exedir + "../../../../data/";  //SuperTux run from source dir (with libtool script)
              
              if (access(datadir.c_str(), F_OK) != 0)
              {