summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2010-01-15 23:05:41 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2010-01-15 23:05:41 +0000
commit3662b3781fc545249b0be97ad37b34b07b27aee8 (patch)
tree5d3ec6130ce696a1d64db81903b19e31be4d4168
parent6061cc3103206883e3d44930912421c2159fc823 (diff)
downloadnetsurf-3662b3781fc545249b0be97ad37b34b07b27aee8.tar.gz
netsurf-3662b3781fc545249b0be97ad37b34b07b27aee8.tar.bz2
Prevent crash if screen could not be opened and prefs are subsequently changed.
svn path=/trunk/netsurf/; revision=9810
-rwxr-xr-xamiga/gui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index cefed047a..e98eec200 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -589,7 +589,7 @@ void ami_openscreen(void)
}
else
{
- option_use_pubscreen = "Workbench";
+ option_use_pubscreen = strdup("Workbench");
}
}
}
@@ -2383,9 +2383,9 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw,
GA_RelVerify,TRUE,
StringEnd,
*/
- // GA_ID, GID_TOOLBARLAYOUT,
- // GA_RelVerify, TRUE,
- // LAYOUT_RelVerify, TRUE,
+ // GA_ID, GID_TOOLBARLAYOUT,
+ // GA_RelVerify, TRUE,
+ // LAYOUT_RelVerify, TRUE,
LAYOUT_WeightBar, TRUE,
LAYOUT_AddChild, HGroupObject,
LAYOUT_VertAlignment, LALIGN_CENTER,