mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 14:59:47 +03:00
missing 'defined'
This commit is contained in:
parent
8ac36b64b1
commit
c48d7fa2da
@ -610,7 +610,7 @@ void ami_gui_opts_open(void)
|
||||
LABEL_Text, gadlab[GID_OPTS_HISTORY],
|
||||
LabelEnd,
|
||||
LayoutEnd, // history
|
||||
#if defined(WITH_JS) || (WITH_MOZJS)
|
||||
#if defined(WITH_JS) || defined(WITH_MOZJS)
|
||||
LAYOUT_AddChild, VGroupObject,
|
||||
LAYOUT_SpaceOuter, TRUE,
|
||||
LAYOUT_BevelStyle, BVS_GROUP,
|
||||
@ -1473,7 +1473,7 @@ void ami_gui_opts_use(bool save)
|
||||
nsoption_set_bool(send_referer, false);
|
||||
}
|
||||
|
||||
#if defined(WITH_JS) || (WITH_MOZJS)
|
||||
#if defined(WITH_JS) || defined(WITH_MOZJS)
|
||||
GetAttr(GA_Selected,gow->objects[GID_OPTS_JAVASCRIPT],(ULONG *)&data);
|
||||
if (data) {
|
||||
nsoption_set_bool(enable_javascript, true);
|
||||
|
Loading…
Reference in New Issue
Block a user