diff options
Diffstat (limited to 'core/fxcrt/xml/cfx_xmldoc.cpp')
-rw-r--r-- | core/fxcrt/xml/cfx_xmldoc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/xml/cfx_xmldoc.cpp b/core/fxcrt/xml/cfx_xmldoc.cpp index e29c09a08e..36c3606017 100644 --- a/core/fxcrt/xml/cfx_xmldoc.cpp +++ b/core/fxcrt/xml/cfx_xmldoc.cpp @@ -68,7 +68,7 @@ void CFX_XMLDoc::SaveXMLNode( pXMLStream->WriteString(ws.AsStringView()); } else { WideString ws = - WideString::Format(L"<?%s", pInstruction->GetName().c_str()); + WideString::Format(L"<?%ls", pInstruction->GetName().c_str()); pXMLStream->WriteString(ws.AsStringView()); for (auto it : pInstruction->GetAttributes()) { |