Nuts, checked in wrong file AND named wrong bug in previous checkin, msu

be friday or something.
Correct bug# is 26060.
This commit is contained in:
rogerl%netscape.com 2000-02-11 23:00:21 +00:00
parent 6ab6755e46
commit adda1105ce

View File

@ -2666,8 +2666,10 @@ JS_ExecuteScriptPart(JSContext *cx, JSObject *obj, JSScript *script,
if (part == JSEXEC_PROLOG)
tmp.length = PTRDIFF(tmp.main, tmp.code, jsbytecode);
else
else {
tmp.length -= PTRDIFF(tmp.main, tmp.code, jsbytecode);
tmp.code = tmp.main;
}
return JS_ExecuteScript(cx, obj, &tmp, rval);
}