summaryrefslogtreecommitdiff
path: root/games/fgrun/patches/fgrun-1.6.1-fix-crash-when-setting-defaults.patch
blob: 52b56d4055c6bb27da1a6838b287927d3f6053c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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();