summaryrefslogtreecommitdiff
path: root/plugins/XSoundNotify
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 20:07:58 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 20:07:58 +0000
commitc09aa99a7e9915c503064d6eb5e9dd1bdd2a673f (patch)
tree9b1b1447755b03dc6fcb327b027789b415e3119f /plugins/XSoundNotify
parentbabf7873a3fe373d60ef22b1b671d98e014d8819 (diff)
replace _tcscpy to mir_tstrcpy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13764 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/XSoundNotify')
-rw-r--r--plugins/XSoundNotify/src/dialog.cpp4
-rw-r--r--plugins/XSoundNotify/src/options.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/XSoundNotify/src/dialog.cpp b/plugins/XSoundNotify/src/dialog.cpp
index 5a5c6dc1e5..00a777b36b 100644
--- a/plugins/XSoundNotify/src/dialog.cpp
+++ b/plugins/XSoundNotify/src/dialog.cpp
@@ -32,11 +32,11 @@ static INT_PTR CALLBACK DlgProcContactsOptions(HWND hwndDlg, UINT msg, WPARAM wP
break;
case DBVT_ASCIIZ:
- _tcscpy(uid, _A2T(dbvuid.pszVal));
+ mir_tstrcpy(uid, _A2T(dbvuid.pszVal));
break;
case DBVT_UTF8:
- _tcscpy(uid, ptrT(mir_utf8decodeT(dbvuid.pszVal)));
+ mir_tstrcpy(uid, ptrT(mir_utf8decodeT(dbvuid.pszVal)));
break;
}
diff --git a/plugins/XSoundNotify/src/options.cpp b/plugins/XSoundNotify/src/options.cpp
index 7e3a5ba68a..d85991de2e 100644
--- a/plugins/XSoundNotify/src/options.cpp
+++ b/plugins/XSoundNotify/src/options.cpp
@@ -66,15 +66,15 @@ static INT_PTR CALLBACK OptsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l
break;
case DBVT_ASCIIZ:
- _tcscpy(uid, _A2T(dbvuid.pszVal));
+ mir_tstrcpy(uid, _A2T(dbvuid.pszVal));
break;
case DBVT_UTF8:
- _tcscpy(uid, ptrT(mir_utf8decodeT(dbvuid.pszVal)));
+ mir_tstrcpy(uid, ptrT(mir_utf8decodeT(dbvuid.pszVal)));
break;
default:
- _tcscpy(uid, TranslateT("(Unknown contact)"));
+ mir_tstrcpy(uid, TranslateT("(Unknown contact)"));
}
TCHAR *nick = (TCHAR *)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, hContact, GCDNF_TCHAR);