diff options
Diffstat (limited to 'fxjs/cjs_scalewhen.cpp')
-rw-r--r-- | fxjs/cjs_scalewhen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_scalewhen.cpp b/fxjs/cjs_scalewhen.cpp index 33f13cbe00..41dc41a8d1 100644 --- a/fxjs/cjs_scalewhen.cpp +++ b/fxjs/cjs_scalewhen.cpp @@ -18,7 +18,7 @@ int CJS_ScaleWhen::ObjDefnID = -1; void CJS_ScaleWhen::DefineJSObjects(CFXJS_Engine* pEngine) { ObjDefnID = pEngine->DefineObj("scaleWhen", FXJSOBJTYPE_STATIC, nullptr, nullptr); - DefineConsts(pEngine, ObjDefnID, ConstSpecs, FX_ArraySize(ConstSpecs)); + DefineConsts(pEngine, ObjDefnID, ConstSpecs); } CJS_ScaleWhen::CJS_ScaleWhen(v8::Local<v8::Object> pObject, |