[Super-tux-commit] supertux/lib/app setup.cpp,1.23,1.24
Brought to you by:
wkendrick
From: Matze B. <mat...@us...> - 2004-12-06 17:47:55
|
Update of /cvsroot/super-tux/supertux/lib/app In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7813/lib/app Modified Files: setup.cpp Log Message: -Fix bugs where resources from source directory weren't always found -Create a complete german translation as example Index: setup.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/lib/app/setup.cpp,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- setup.cpp 2 Dec 2004 01:41:57 -0000 1.23 +++ setup.cpp 6 Dec 2004 17:47:40 -0000 1.24 @@ -322,7 +322,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 + "../../data/"; //SuperTux run from source dir (with libtool script) |