diff options
author | René Schümann <white06tiger@gmail.com> | 2014-04-03 02:11:56 +0000 |
---|---|---|
committer | René Schümann <white06tiger@gmail.com> | 2014-04-03 02:11:56 +0000 |
commit | b87686ce677be209f6923fc8b2f11edcff7f98a0 (patch) | |
tree | 38654f368df08bc0ad5efe079bf71343d6c4ccb0 /plugins/SendScreenshotPlus/src/CSendEmail.cpp | |
parent | 6d57c5a6472a17864d85b5923a4c4dfcf3606df3 (diff) |
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
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendEmail.cpp')
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendEmail.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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. |