diff options
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendEmail.cpp')
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendEmail.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendEmail.cpp b/plugins/SendScreenshotPlus/src/CSendEmail.cpp index dc91c4a867..9b8eb752d3 100644 --- a/plugins/SendScreenshotPlus/src/CSendEmail.cpp +++ b/plugins/SendScreenshotPlus/src/CSendEmail.cpp @@ -61,11 +61,11 @@ int CSendEmail::Send() m_pszFileName = GetFileNameA(m_pszFile); mir_free(m_pszFileA); - m_pszFileA = mir_t2a(m_pszFile); + m_pszFileA = mir_u2a(m_pszFile); - m_Email = mir_t2a(ptrT(Contact_GetInfo(CNF_EMAIL, m_hContact, m_pszProto))); - m_FriendlyName = mir_t2a(ptrT(Contact_GetInfo(CNF_DISPLAY, m_hContact, m_pszProto))); - m_Subject = mir_t2a(m_pszFileDesc); + m_Email = mir_u2a(ptrW(Contact_GetInfo(CNF_EMAIL, m_hContact, m_pszProto))); + m_FriendlyName = mir_u2a(ptrW(Contact_GetInfo(CNF_DISPLAY, m_hContact, m_pszProto))); + m_Subject = mir_u2a(m_pszFileDesc); //SendByEmail(m_pszFileA, "", m_FriendlyName, m_Email, m_Subject); |