summaryrefslogtreecommitdiff
path: root/fxjs/cjs_scalehow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_scalehow.cpp')
-rw-r--r--fxjs/cjs_scalehow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_scalehow.cpp b/fxjs/cjs_scalehow.cpp
index a29aa384a5..f284c24c1c 100644
--- a/fxjs/cjs_scalehow.cpp
+++ b/fxjs/cjs_scalehow.cpp
@@ -16,7 +16,7 @@ int CJS_ScaleHow::ObjDefnID = -1;
void CJS_ScaleHow::DefineJSObjects(CFXJS_Engine* pEngine) {
ObjDefnID =
pEngine->DefineObj("scaleHow", FXJSOBJTYPE_STATIC, nullptr, nullptr);
- DefineConsts(pEngine, ObjDefnID, ConstSpecs, FX_ArraySize(ConstSpecs));
+ DefineConsts(pEngine, ObjDefnID, ConstSpecs);
}
CJS_ScaleHow::CJS_ScaleHow(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime)