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