diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 20:07:58 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 20:07:58 +0000 |
commit | c09aa99a7e9915c503064d6eb5e9dd1bdd2a673f (patch) | |
tree | 9b1b1447755b03dc6fcb327b027789b415e3119f /plugins/UserGuide | |
parent | babf7873a3fe373d60ef22b1b671d98e014d8819 (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/UserGuide')
-rw-r--r-- | plugins/UserGuide/src/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/UserGuide/src/main.cpp b/plugins/UserGuide/src/main.cpp index 658b4e9238..91de3fec58 100644 --- a/plugins/UserGuide/src/main.cpp +++ b/plugins/UserGuide/src/main.cpp @@ -28,22 +28,22 @@ static INT_PTR ShowGuideFile(WPARAM, LPARAM) if (ptszHelpFile==0)
{
- _tcscpy(pszDirName, _T("%miranda_path%\\Plugins"));
- _tcscpy(pszFileName, _T("UserGuide.chm"));
+ mir_tstrcpy(pszDirName, _T("%miranda_path%\\Plugins"));
+ mir_tstrcpy(pszFileName, _T("UserGuide.chm"));
}
else
{
if(!mir_tstrcmp(ptszHelpFile, _T("")))
{
- _tcscpy(pszDirName, _T("%miranda_path%\\Plugins"));
- _tcscpy(pszFileName, _T("UserGuide.chm"));
+ mir_tstrcpy(pszDirName, _T("%miranda_path%\\Plugins"));
+ mir_tstrcpy(pszFileName, _T("UserGuide.chm"));
}
else
{
LPTSTR pszDivider = _tcsrchr(ptszHelpFile, '\\');
if (pszDivider == NULL)
{
- _tcscpy(pszDirName, _T(""));
+ mir_tstrcpy(pszDirName, _T(""));
_tcsncpy(pszFileName, ptszHelpFile, mir_tstrlen(ptszHelpFile));
}
else
|