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