fix crash

svn path=/trunk/netsurf/; revision=13900
This commit is contained in:
Chris Young 2012-05-01 18:51:05 +00:00
parent 9b984e8b3f
commit a44ead03cf

View File

@ -1445,7 +1445,7 @@ void ami_gui_opts_use(void)
switch(data)
{
case 0:
nsoption_set_charp(use_pubscreen, NULL);
nsoption_set_charp(use_pubscreen, strdup("\0"));
break;
case 1: