Index: fpdfsdk/src/fsdk_mgr.cpp |
diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp |
index 25783a8c02e74938a1e268b521d57037b9386039..0a9fcd34f2a97165fb7322d51f0e91750b563c7c 100644 |
--- a/fpdfsdk/src/fsdk_mgr.cpp |
+++ b/fpdfsdk/src/fsdk_mgr.cpp |
@@ -332,9 +332,9 @@ void CPDFDoc_Environment::JS_docmailForm(void* mailData, |
const FX_WCHAR* Msg) { |
if (m_pInfo && m_pInfo->m_pJsPlatform && m_pInfo->m_pJsPlatform->Doc_mail) { |
CFX_ByteString bsTo = CFX_WideString(To).UTF16LE_Encode(); |
- CFX_ByteString bsCC = CFX_WideString(Subject).UTF16LE_Encode(); |
- CFX_ByteString bsBcc = CFX_WideString(BCC).UTF16LE_Encode(); |
CFX_ByteString bsSubject = CFX_WideString(Subject).UTF16LE_Encode(); |
+ CFX_ByteString bsCC = CFX_WideString(CC).UTF16LE_Encode(); |
+ CFX_ByteString bsBcc = CFX_WideString(BCC).UTF16LE_Encode(); |
CFX_ByteString bsMsg = CFX_WideString(Msg).UTF16LE_Encode(); |
FPDF_WIDESTRING pTo = (FPDF_WIDESTRING)bsTo.GetBuffer(bsTo.GetLength()); |
FPDF_WIDESTRING pCC = (FPDF_WIDESTRING)bsCC.GetBuffer(bsCC.GetLength()); |