Fix cosmetic bug pointed out by caillon, passing JS_FALSE rather than 0 to js_DecompileValueGenerator (API change wasn't tracked long ago).
git-svn-id: svn://10.0.0.236/trunk@154842 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2681,8 +2681,7 @@ js_GetProperty(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
|
||||
}
|
||||
|
||||
/* Ok, bad undefined property reference: whine about it. */
|
||||
str = js_DecompileValueGenerator(cx, JS_FALSE, ID_TO_VALUE(id),
|
||||
NULL);
|
||||
str = js_DecompileValueGenerator(cx, 0, ID_TO_VALUE(id), NULL);
|
||||
if (!str ||
|
||||
!JS_ReportErrorFlagsAndNumber(cx,
|
||||
JSREPORT_WARNING|JSREPORT_STRICT,
|
||||
|
||||
Reference in New Issue
Block a user