diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-04-22 12:00:06 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-04-22 12:00:06 +0000 |
commit | 81a40dc68da904e326d8b73558c9b71f8a9fd914 (patch) | |
tree | ae404c8c53a5f633d9ef9cef3aa823aafc088d51 /protocols/SkypeClassic/src/skype.cpp | |
parent | 184155c8aaf1dd0c8bcd498dfd7ba9c512433e73 (diff) |
code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@9048 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeClassic/src/skype.cpp')
-rw-r--r-- | protocols/SkypeClassic/src/skype.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/SkypeClassic/src/skype.cpp b/protocols/SkypeClassic/src/skype.cpp index cf542c7b62..e8f7abbc01 100644 --- a/protocols/SkypeClassic/src/skype.cpp +++ b/protocols/SkypeClassic/src/skype.cpp @@ -1042,8 +1042,6 @@ void FetchMessageThread(fetchmsg_arg *pargs) { }
if (!strcmp(type,"LEFT") || (bAddedMembers = strcmp(type,"ADDEDMEMBERS")==0))
{
- char *pszInvited = Translate("invited ");
-
LOG(("FetchMessageThread CHAT LEFT or ADDEDMEMBERS"));
if (bAddedMembers) {
GCDEST gcd = { SKYPE_PROTONAME, make_nonutf_tchar_string((const unsigned char*)chat), GC_EVENT_ACTION };
@@ -1051,9 +1049,7 @@ void FetchMessageThread(fetchmsg_arg *pargs) { gce.dwFlags = GCEF_ADDTOLOG;
gce.time = timestamp;
if (users=SkypeGetErr (cmdMessage, args.msgnum, "USERS")) {
- // We assume that users buffer has enough room for "invited" string
- memmove (users+strlen(pszInvited), users, strlen(users)+1);
- memcpy (users, pszInvited, strlen(pszInvited));
+ CMString(FORMAT, _T("%S %s"), users, TranslateT("invited"));
gce.ptszText= make_tchar_string((const unsigned char*)users);
if (who=SkypeGetErr (cmdMessage, args.msgnum, szPartnerHandle)) {
DBVARIANT dbv;
|