projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5d068da
)
- fixed search path for datadir
author
Ryan Flegel
<rflegel@gmail.com>
Fri, 6 Aug 2004 01:36:47 +0000
(
01:36
+0000)
committer
Ryan Flegel
<rflegel@gmail.com>
Fri, 6 Aug 2004 01:36:47 +0000
(
01:36
+0000)
SVN-Revision: 1714
lib/app/setup.cpp
patch
|
blob
|
history
diff --git
a/lib/app/setup.cpp
b/lib/app/setup.cpp
index
0cbcb92
..
75dd5f5
100644
(file)
--- 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)) + "/";
{
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
if (access(datadir.c_str(), F_OK) != 0)
{
datadir = exedir + "../share/" + package_symbol_name; // SuperTux run from PATH