summaryrefslogtreecommitdiff
path: root/plugins/FloatingContacts/src/thumbs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FloatingContacts/src/thumbs.cpp')
-rw-r--r--plugins/FloatingContacts/src/thumbs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FloatingContacts/src/thumbs.cpp b/plugins/FloatingContacts/src/thumbs.cpp
index d7bd378618..e5ea984121 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;
- mir_tstrncpy( pThumb->ptszName, ptszName, USERNAME_LEN - 1);
+ _tcsncpy( pThumb->ptszName, ptszName, USERNAME_LEN - 1);
pThumb->hContact = hContact;
pThumb->hwnd = hwnd;