Index: fpdfsdk/include/javascript/JS_Define.h |
diff --git a/fpdfsdk/include/javascript/JS_Define.h b/fpdfsdk/include/javascript/JS_Define.h |
index 7490a2f636f934cf229bdd1e796aa666ca956f0c..3252602dbc02a3eac9d4b74e9d34fafbd95807fc 100644 |
--- a/fpdfsdk/include/javascript/JS_Define.h |
+++ b/fpdfsdk/include/javascript/JS_Define.h |
@@ -37,10 +37,10 @@ struct JSMethodSpec { |
#define BEGIN_JS_STATIC_CONST(js_class_name) \ |
JSConstSpec js_class_name::JS_Class_Consts[] = { |
#define JS_STATIC_CONST_ENTRY_NUMBER(const_name, pValue) \ |
- { JS_WIDESTRING(const_name), pValue, L"", 0 } \ |
+ { const_name, pValue, L"", 0 } \ |
, |
#define JS_STATIC_CONST_ENTRY_STRING(const_name, pValue) \ |
- { JS_WIDESTRING(const_name), 0, JS_WIDESTRING(pValue), 1 } \ |
+ { const_name, 0, pValue, 1 } \ |
, |
#define END_JS_STATIC_CONST() \ |
{ 0, 0, 0, 0 } \ |