fix missing default

svn path=/trunk/netsurf/; revision=13992
This commit is contained in:
Vincent Sanders 2012-06-28 09:30:56 +00:00
parent 1c15183fe3
commit ac1dbe0354
2 changed files with 4 additions and 2 deletions

View File

@ -62,8 +62,10 @@ NETSURF_USE_WEBP := NO
NETSURF_USE_VIDEO := NO
# Enable NetSurf's use of spidermonkey for javascript
# Valid options: YES, NO
# Valid options: YES, NO, AUTO
NETSURF_USE_JS := NO
# Javascript support in older debian/ubuntu versions
NETSURF_USE_MOZJS := NO
# Enable NetSurf's use of libharu for PDF export and GTK printing support.
# There is no auto-detection available for this, as it does not have a

View File

@ -179,7 +179,7 @@ static JSBool jsnative_confirm(JSContext *cx, uintN argc, jsval *vp)
warn_user(txt, NULL);
JS_SET_RVAL(cx, vp, result);
JS_SET_RVAL(cx, vp, BOOLEAN_TO_JSVAL(result));
return JS_TRUE;
}