diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-14 19:07:52 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-14 19:07:52 +0000 |
commit | 0225e25a20995f5b091c31ea1ea91306bfc8e23c (patch) | |
tree | aca60c03c02591f9c95a99705d127d65ee056d68 /plugins/Popup/src/bitmap_funcs.cpp | |
parent | 2a884a193239118e9ff76d7a29dae5a84fab1122 (diff) |
cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@13595 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src/bitmap_funcs.cpp')
-rw-r--r-- | plugins/Popup/src/bitmap_funcs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Popup/src/bitmap_funcs.cpp b/plugins/Popup/src/bitmap_funcs.cpp index 6636ff0546..8feeb7985f 100644 --- a/plugins/Popup/src/bitmap_funcs.cpp +++ b/plugins/Popup/src/bitmap_funcs.cpp @@ -832,7 +832,7 @@ bool MyBitmap::loadFromFile(const TCHAR *fn, const TCHAR *fnAlpha) return loadFromFile_gradient(fn);
TCHAR ext[5];
- _tcsncpy_s(ext, fn + (_tcslen(fn) - 4), _TRUNCATE);
+ mir_tstrncpy(ext, fn + (mir_tstrlen(fn) - 4), _TRUNCATE);
if (!mir_tstrcmpi(ext, _T(".png")))
return loadFromFile_png(fn);
|