Typo fix.

This commit is contained in:
Dan Witte 2010-04-02 14:03:27 -07:00
parent a0f7102bf7
commit 4e50af97f4

View File

@ -4659,7 +4659,7 @@ FunctionType::Call(JSContext* cx,
// prepare the values for each argument
AutoValueAutoArray values;
AutoValueAutoArray strings;
if (!values.resize(fninfo->mArgTypes.length())) {
if (!values.resize(argc)) {
JS_ReportOutOfMemory(cx);
return false;
}