summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/Utils.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-24 12:35:03 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-24 12:35:03 +0000
commitee697e0b699bcefec907c089e3ad455538c72c2f (patch)
tree030a675c2c93dc8b34a13b7fc9a3bea7477d84ba /plugins/IEView/src/Utils.cpp
parent5aed15a8d8d8e4f913539761be496e0d1ba2c4f0 (diff)
replace wcscpy to mir_wstrcpy
replace wcscat to mir_wstrcat replace wcsncat to mir_wstrncat replace wcscmp to mir_wstrcmp replace wcsicmp to mir_wstrcmpi git-svn-id: http://svn.miranda-ng.org/main/trunk@13814 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/Utils.cpp')
-rw-r--r--plugins/IEView/src/Utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/IEView/src/Utils.cpp b/plugins/IEView/src/Utils.cpp
index 1655b06c95..1330f14e89 100644
--- a/plugins/IEView/src/Utils.cpp
+++ b/plugins/IEView/src/Utils.cpp
@@ -36,8 +36,8 @@ wchar_t* Utils::toAbsolute(wchar_t* relative)
long tlen = len + (int)mir_wstrlen(relative);
wchar_t* result = (wchar_t*)mir_alloc(sizeof(wchar_t)*(tlen + 1));
if (result) {
- wcscpy(result, bdir);
- wcscpy(result + len, relative);
+ mir_wstrcpy(result, bdir);
+ mir_wstrcpy(result + len, relative);
}
return result;
}