| Index: xfa/fxfa/fm2js/xfa_fmparse.cpp
|
| diff --git a/xfa/fxfa/fm2js/xfa_fmparse.cpp b/xfa/fxfa/fm2js/xfa_fmparse.cpp
|
| index c99f015fca8ce5f9593ed3cd20bc1abbf1313424..20b1044364284d59e5858f4b5c816683ed6b5a43 100644
|
| --- a/xfa/fxfa/fm2js/xfa_fmparse.cpp
|
| +++ b/xfa/fxfa/fm2js/xfa_fmparse.cpp
|
| @@ -36,12 +36,11 @@ void CXFA_FMParse::Check(XFA_FM_TOKEN op) {
|
| NextToken();
|
| }
|
|
|
| -void CXFA_FMParse::Error(uint32_t lineNum, XFA_FM_ERRMSG msg, ...) {
|
| +void CXFA_FMParse::Error(uint32_t lineNum, const FX_WCHAR* msg, ...) {
|
| m_pErrorInfo->linenum = lineNum;
|
| - const FX_WCHAR* lpMessageInfo = XFA_FM_ErrorMsg(msg);
|
| va_list ap;
|
| va_start(ap, msg);
|
| - m_pErrorInfo->message.FormatV(lpMessageInfo, ap);
|
| + m_pErrorInfo->message.FormatV(msg, ap);
|
| va_end(ap);
|
| }
|
|
|
|
|