diff options
Diffstat (limited to 'games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch')
-rw-r--r-- | games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch b/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch index 7c60c4efa624..01283c5ab50f 100644 --- a/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch +++ b/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch @@ -1,11 +1,11 @@ ---- a/Main.cpp.old 2006-07-28 00:04:46.000000000 +0200 -+++ b/Main.cpp 2006-07-28 00:08:28.000000000 +0200 +--- a/Main.cpp ++++ b/Main.cpp @@ -184,7 +184,7 @@ - #ifndef WIN32
- string settingsPath = userHomePath + "settings.dat";
- if (!DoesFileExist(settingsPath))
-- settingsPath = "settings.dat";
-+ settingsPath = "@GAMES_DATADIR@/galaxyhack/settings.dat";
- #else
- string settingsPath = "settings.dat";
- #endif
+ #ifndef WIN32 + string settingsPath = userHomePath + "settings.dat"; + if (!DoesFileExist(settingsPath)) +- settingsPath = "settings.dat"; ++ settingsPath = "@GAMES_DATADIR@/galaxyhack/settings.dat"; + #else + string settingsPath = "settings.dat"; + #endif |