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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/New_GPG/src/messages.cpp b/plugins/New_GPG/src/messages.cpp
index d13bd66a3b..cc24f0f57a 100755
--- a/plugins/New_GPG/src/messages.cpp
+++ b/plugins/New_GPG/src/messages.cpp
@@ -382,7 +382,7 @@ INT_PTR RecvMsgSvc(WPARAM w, LPARAM l)
DWORD exitcode;
{
ptmp = UniGetContactSettingUtf(NULL, szGPGModuleName, "szHomePath", _T(""));
- _tcscpy(tmp2, ptmp);
+ mir_tstrcpy(tmp2, ptmp);
mir_free(ptmp);
_tcscat(tmp2, _T("\\"));
TCHAR *tmp3 = mir_a2t(get_random(5).c_str());
@@ -977,7 +977,7 @@ static INT_PTR CALLBACK DlgProcKeyPassword(HWND hwndDlg, UINT msg, WPARAM wParam
if(password)
mir_free(password);
password = (TCHAR*)mir_alloc(sizeof(TCHAR)*(mir_tstrlen(tmp)+1));
- _tcscpy(password, tmp);
+ mir_tstrcpy(password, tmp);
}
mir_free(tmp);
mir_free(inkeyid);