aboutsummaryrefslogtreecommitdiff
path: root/games/fgrun/fgrun-1.6.2-fix-reloadpath-logic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/fgrun/fgrun-1.6.2-fix-reloadpath-logic.patch')
-rw-r--r--games/fgrun/fgrun-1.6.2-fix-reloadpath-logic.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/games/fgrun/fgrun-1.6.2-fix-reloadpath-logic.patch b/games/fgrun/fgrun-1.6.2-fix-reloadpath-logic.patch
new file mode 100644
index 0000000000000..0fb90069281da
--- /dev/null
+++ b/games/fgrun/fgrun-1.6.2-fix-reloadpath-logic.patch
@@ -0,0 +1,29 @@
+--- fgrun-1.6.2/src/wizard_funcs.cxx.orig 2012-09-11 14:57:53.176639212 +0200
++++ fgrun-1.6.2/src/wizard_funcs.cxx 2012-09-11 15:11:35.995000085 +0200
+@@ -296,7 +296,7 @@
+ {
+ fg_scenery = buf;
+ }
+- else if (reloadPath && systemPrefs.get( "fg_scenery", buf, "", buflen-1))
++ else if (systemPrefs.get( "fg_scenery", buf, "", buflen-1))
+ {
+ fg_scenery = buf;
+ prefs.set("fg_scenery", buf);
+@@ -338,7 +338,7 @@
+ {
+ ts_dir = iVal;
+ }
+- else if (reloadPath && systemPrefs.get("ts_dir", iVal, 0))
++ else if (systemPrefs.get("ts_dir", iVal, 0))
+ {
+ prefs.set("ts_dir", ts_dir);
+ systemPrefs.get("ts_dir_init", iVal, 0);
+@@ -353,7 +353,7 @@
+ {
+ ts_exe_->value(buf);
+ }
+- else if (reloadPath && systemPrefs.get( "ts_exe", buf, "", buflen-1))
++ else if (systemPrefs.get( "ts_exe", buf, "", buflen-1))
+ {
+ ts_exe_->value( buf );
+ prefs.set("ts_exe", buf);