summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp7
1 files changed, 3 insertions, 4 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);