diff options
Diffstat (limited to 'plugins/FloatingContacts/src/thumbs.cpp')
-rw-r--r-- | plugins/FloatingContacts/src/thumbs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FloatingContacts/src/thumbs.cpp b/plugins/FloatingContacts/src/thumbs.cpp index e5ea984121..d7bd378618 100644 --- a/plugins/FloatingContacts/src/thumbs.cpp +++ b/plugins/FloatingContacts/src/thumbs.cpp @@ -757,7 +757,7 @@ ThumbInfo *ThumbList::AddThumb(HWND hwnd, TCHAR *ptszName, MCONTACT hContact) return NULL;
ThumbInfo *pThumb = new ThumbInfo;
- _tcsncpy( pThumb->ptszName, ptszName, USERNAME_LEN - 1);
+ mir_tstrncpy( pThumb->ptszName, ptszName, USERNAME_LEN - 1);
pThumb->hContact = hContact;
pThumb->hwnd = hwnd;
|