From f6bd1353102467a4f0b153189c102a25fee625d3 Mon Sep 17 00:00:00 2001 From: "brendan%mozilla.org" Date: Wed, 14 Apr 2004 02:35:34 +0000 Subject: [PATCH] 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 --- mozilla/js/src/jsobj.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mozilla/js/src/jsobj.c b/mozilla/js/src/jsobj.c index d9c956fc5c2..f8c53850857 100644 --- a/mozilla/js/src/jsobj.c +++ b/mozilla/js/src/jsobj.c @@ -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,