mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 13:37:02 +03:00
Prevent crash if screen could not be opened and prefs are subsequently changed.
svn path=/trunk/netsurf/; revision=9810
This commit is contained in:
parent
6061cc3103
commit
3662b3781f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user