From 3662b3781fc545249b0be97ad37b34b07b27aee8 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 15 Jan 2010 23:05:41 +0000 Subject: Prevent crash if screen could not be opened and prefs are subsequently changed. svn path=/trunk/netsurf/; revision=9810 --- amiga/gui.c | 8 ++++---- 1 file 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, -- cgit v1.2.3