diff options
Diffstat (limited to 'games/fgrun/fgrun-1.6.1-fix-crash-when-setting-defaults.patch')
-rw-r--r-- | games/fgrun/fgrun-1.6.1-fix-crash-when-setting-defaults.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/games/fgrun/fgrun-1.6.1-fix-crash-when-setting-defaults.patch b/games/fgrun/fgrun-1.6.1-fix-crash-when-setting-defaults.patch new file mode 100644 index 0000000000..52b56d4055 --- /dev/null +++ b/games/fgrun/fgrun-1.6.1-fix-crash-when-setting-defaults.patch @@ -0,0 +1,18 @@ +--- fgrun-1.6.1/src/wizard_funcs.cxx.orig 2012-02-27 22:56:08.000000000 +0100 ++++ fgrun-1.6.1/src/wizard_funcs.cxx 2012-03-21 21:00:52.072609457 +0100 +@@ -1200,7 +1200,6 @@ Wizard::~Wizard() + aircraft->clear(); + + delete logwin; +- delete win; + delete adv; + } + +@@ -2265,7 +2264,6 @@ Wizard::reset_settings() + prefs.set( "time_of_day_value", "noon" ); + + aircraft->value( 0 ); +- preview->make_current(); + preview->clear(); + preview->redraw(); + |