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