From b87686ce677be209f6923fc8b2f11edcff7f98a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sch=C3=BCmann?= Date: Thu, 3 Apr 2014 02:11:56 +0000 Subject: SendSS * changed LPSTR to char* and LPTSTR to TCHAR* * GetFileName split into A and W functions (Utils.cpp) git-svn-id: http://svn.miranda-ng.org/main/trunk@8834 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SendScreenshotPlus/src/CSendEmail.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SendScreenshotPlus/src/CSendEmail.cpp') diff --git a/plugins/SendScreenshotPlus/src/CSendEmail.cpp b/plugins/SendScreenshotPlus/src/CSendEmail.cpp index 9b6498ecb8..1b1e681c31 100644 --- a/plugins/SendScreenshotPlus/src/CSendEmail.cpp +++ b/plugins/SendScreenshotPlus/src/CSendEmail.cpp @@ -53,7 +53,7 @@ CSendEmail::~CSendEmail(){ void CSendEmail::Send() { mir_freeAndNil(m_pszFileName); - m_pszFileName = (LPSTR)GetFileName(m_pszFile, DBVT_ASCIIZ); + m_pszFileName = GetFileNameA(m_pszFile); mir_freeAndNil(m_pszFileA); m_pszFileA = mir_t2a(m_pszFile); @@ -146,7 +146,7 @@ void CSendEmail::SendThread() { int res = lpMAPISendMail(NULL, NULL, &Msg, MAPI_LOGON_UI|MAPI_DIALOG, 0); ::FreeLibrary(hMAPILib); - LPTSTR err; + TCHAR* err; switch (res) { case SUCCESS_SUCCESS: //The call succeeded and the message was sent. -- cgit v1.2.3