diff options
Diffstat (limited to 'plugins/IEView/src/Utils.cpp')
-rw-r--r-- | plugins/IEView/src/Utils.cpp | 4 |
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;
}
|