summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG/src/messages.cpp')
-rwxr-xr-xplugins/New_GPG/src/messages.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/New_GPG/src/messages.cpp b/plugins/New_GPG/src/messages.cpp
index cc24f0f57a..3c6f993507 100755
--- a/plugins/New_GPG/src/messages.cpp
+++ b/plugins/New_GPG/src/messages.cpp
@@ -384,12 +384,12 @@ INT_PTR RecvMsgSvc(WPARAM w, LPARAM l)
ptmp = UniGetContactSettingUtf(NULL, szGPGModuleName, "szHomePath", _T(""));
mir_tstrcpy(tmp2, ptmp);
mir_free(ptmp);
- _tcscat(tmp2, _T("\\"));
+ mir_tstrcat(tmp2, _T("\\"));
TCHAR *tmp3 = mir_a2t(get_random(5).c_str());
- _tcscat(tmp2, tmp3);
- _tcscat(tmp2, _T(".asc"));
+ mir_tstrcat(tmp2, tmp3);
+ mir_tstrcat(tmp2, _T(".asc"));
mir_free(tmp3);
- //_tcscat(tmp2, _T("temporary_exported.asc"));
+ //mir_tstrcat(tmp2, _T("temporary_exported.asc"));
boost::filesystem::remove(tmp2);
wfstream f(tmp2, std::ios::out);
while(!f.is_open())