| Index: xfa/fxfa/fm2js/xfa_lexer.cpp
|
| diff --git a/xfa/fxfa/fm2js/xfa_lexer.cpp b/xfa/fxfa/fm2js/xfa_lexer.cpp
|
| index dd3b48ff54f509b67a5f2fe0cd88e58e9621e7ab..18ede28a2f4bc0d0fdf4a9750019c792d86d4bcc 100644
|
| --- a/xfa/fxfa/fm2js/xfa_lexer.cpp
|
| +++ b/xfa/fxfa/fm2js/xfa_lexer.cpp
|
| @@ -532,12 +532,11 @@ XFA_FM_TOKEN CXFA_FMLexer::IsKeyword(const CFX_WideStringC& str) {
|
| return TOKidentifier;
|
| }
|
|
|
| -void CXFA_FMLexer::Error(XFA_FM_ERRMSG msg, ...) {
|
| +void CXFA_FMLexer::Error(const FX_WCHAR* msg, ...) {
|
| m_pErrorInfo->linenum = m_uCurrentLine;
|
| - 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);
|
| }
|
|
|
|
|