diff options
author | George Hazan <george.hazan@gmail.com> | 2014-06-15 10:24:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-06-15 10:24:41 +0000 |
commit | 491e588fe20533aa36730cbba7b8d689c182d26f (patch) | |
tree | ea1eae0d7ac20324461cf70c6e426d0664961404 /plugins | |
parent | c98b927af7a1ae35fb55e44c58fd409bfd73e018 (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@9496 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp | 7 | ||||
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendHTTPServer.h | 14 |
2 files changed, 11 insertions, 10 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp b/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp index e0726c82e1..95b41262cf 100644 --- a/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp +++ b/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp @@ -63,11 +63,10 @@ int CSendHTTPServer::Send() m_pszFileName = GetFileNameA(m_pszFile); } mir_freeAndNil(m_fsi_pszSrvPath); - mir_stradd(m_fsi_pszSrvPath, "/"); - mir_stradd(m_fsi_pszSrvPath, m_pszFileName); + mir_tcsadd(m_fsi_pszSrvPath, _T("/")); + mir_tcsadd(m_fsi_pszSrvPath, _A2T(m_pszFileName)); - mir_free(m_fsi_pszRealPath); - m_fsi_pszRealPath = mir_t2a(m_pszFile); + replaceStrT(m_fsi_pszRealPath, m_pszFile); ZeroMemory(&m_fsi, sizeof(m_fsi)); m_fsi.lStructSize = sizeof(STFileShareInfo); diff --git a/plugins/SendScreenshotPlus/src/CSendHTTPServer.h b/plugins/SendScreenshotPlus/src/CSendHTTPServer.h index d3070806a9..ba095616d9 100644 --- a/plugins/SendScreenshotPlus/src/CSendHTTPServer.h +++ b/plugins/SendScreenshotPlus/src/CSendHTTPServer.h @@ -39,12 +39,14 @@ class CSendHTTPServer : public CSend { int Send(); protected: - char* m_pszFileName; - STFileShareInfo m_fsi; - char* m_fsi_pszSrvPath; - char* m_fsi_pszRealPath; - void SendThread(); - static void SendThreadWrapper(void * Obj); + char* m_pszFileName; + TCHAR* m_fsi_pszSrvPath; + TCHAR* m_fsi_pszRealPath; + + STFileShareInfo m_fsi; + + void SendThread(); + static void SendThreadWrapper(void * Obj); typedef std::map<HANDLE, CSendHTTPServer *> CContactMapping; static CContactMapping _CContactMapping; |