summaryrefslogtreecommitdiffstats
path: root/games/fgrun/fgrun-1.6.2-fix-reloadpath-logic.patch
diff options
context:
space:
mode:
author dsomero2012-09-17 05:29:31 +0200
committer Robby Workman2012-09-17 06:31:35 +0200
commitb0754deaf8d6a58310a1fc0d116b06bd777203ba (patch)
treef496e87c8ed73b092c422e7b83b0af310126141c /games/fgrun/fgrun-1.6.2-fix-reloadpath-logic.patch
parentb4f1a3e7ff0e77227030908554300b3f276dddd0 (diff)
downloadslackbuilds-b0754deaf8d6a58310a1fc0d116b06bd777203ba.tar.gz
games/fgrun: Updated for version 1.6.2
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 0000000000..0fb9006928
--- /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);