diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-23 17:17:58 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-23 17:17:58 +0000 |
commit | 81c71c6c4cf85e8a7575bdf5a8f7991df1eec8b7 (patch) | |
tree | ad522ab5f448c23b5032e12831aeb9a863a299d0 /protocols/JabberG/src/jabber_adhoc.cpp | |
parent | d5ee0fc23bdc1a194774591eb4ce63b8bebb8d6e (diff) |
replace _tcsncat to mir_tstrncat
git-svn-id: http://svn.miranda-ng.org/main/trunk@13781 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_adhoc.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_adhoc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_adhoc.cpp b/protocols/JabberG/src/jabber_adhoc.cpp index fedcb897c3..378c610910 100644 --- a/protocols/JabberG/src/jabber_adhoc.cpp +++ b/protocols/JabberG/src/jabber_adhoc.cpp @@ -541,8 +541,8 @@ int __cdecl CJabberProto::ContactMenuRunCommands(WPARAM hContact, LPARAM lParam) if (selected > 0) {
JABBER_RESOURCE_STATUS *r = item->arResources[selected - 1];
if (r) {
- _tcsncat(jid, _T("/"), SIZEOF(jid) - mir_tstrlen(jid));
- _tcsncat(jid, r->m_tszResourceName, SIZEOF(jid) - mir_tstrlen(jid));
+ mir_tstrncat(jid, _T("/"), SIZEOF(jid) - mir_tstrlen(jid));
+ mir_tstrncat(jid, r->m_tszResourceName, SIZEOF(jid) - mir_tstrlen(jid));
}
selected = 1;
}
|