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:
brendan%mozilla.org
2004-04-14 02:35:34 +00:00
parent c2c4cce304
commit f6bd135310

View File

@@ -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,