summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat/tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/chat/tools.cpp')
-rw-r--r--plugins/TabSRMM/src/chat/tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/chat/tools.cpp b/plugins/TabSRMM/src/chat/tools.cpp
index cc3664024b..6bb9e78f08 100644
--- a/plugins/TabSRMM/src/chat/tools.cpp
+++ b/plugins/TabSRMM/src/chat/tools.cpp
@@ -692,7 +692,7 @@ BOOL IsHighlighted(SESSION_INFO *si, GCEVENT *gce)
size_t len = mir_tstrlen(gce->ptszNick) + 1;
TCHAR *tmp = (TCHAR*)_alloca(sizeof(TCHAR)*(len + 1));
*tmp = GetIndicator(si, gce->ptszNick, 0);
- _tcscpy(tmp + 1, gce->ptszNick);
+ mir_tstrcpy(tmp + 1, gce->ptszNick);
evTmp.ptszNick = tmp;
}
}