diff options
Diffstat (limited to 'fxjs/cjs_border.cpp')
-rw-r--r-- | fxjs/cjs_border.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_border.cpp b/fxjs/cjs_border.cpp index 77d527d75d..b813cbb442 100644 --- a/fxjs/cjs_border.cpp +++ b/fxjs/cjs_border.cpp @@ -19,7 +19,7 @@ int CJS_Border::ObjDefnID = -1; void CJS_Border::DefineJSObjects(CFXJS_Engine* pEngine) { ObjDefnID = pEngine->DefineObj("border", FXJSOBJTYPE_STATIC, nullptr, nullptr); - DefineConsts(pEngine, ObjDefnID, ConstSpecs, FX_ArraySize(ConstSpecs)); + DefineConsts(pEngine, ObjDefnID, ConstSpecs); } CJS_Border::CJS_Border(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime) |