diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-17 23:15:57 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-17 23:15:57 +0000 |
commit | 65cf85ee6e83594f4de5d6d06012bde070b6c6b1 (patch) | |
tree | 50b3747038b77088ee0bef29f6594a74807397c3 /protocols/Gadu-Gadu/src/groupchat.cpp | |
parent | 2d26921c87c663de4725963d7da87c6eacd1e3d3 (diff) |
GaduGadu: Cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@14241 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src/groupchat.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/groupchat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/groupchat.cpp b/protocols/Gadu-Gadu/src/groupchat.cpp index 1a1983e4e5..279fea7174 100644 --- a/protocols/Gadu-Gadu/src/groupchat.cpp +++ b/protocols/Gadu-Gadu/src/groupchat.cpp @@ -289,7 +289,7 @@ TCHAR* GGPROTO::gc_getchat(uin_t sender, uin_t *recipients, int recipients_count if (chat->ignore)
{
// Copy recipient list
- chat->recipients_count = recipients_count + (sender ? 1 : 0);
+ chat->recipients_count = recipients_count + 1;
chat->recipients = (uin_t *)calloc(chat->recipients_count, sizeof(uin_t));
for(i = 0; i < recipients_count; i++)
chat->recipients[i] = recipients[i];
@@ -480,7 +480,7 @@ static INT_PTR CALLBACK gg_gc_openconfdlg(HWND hwndDlg, UINT message, WPARAM wPa free(participants);
}
}
-
+ // fall through
case IDCANCEL:
DestroyWindow(hwndDlg);
break;
|