diff options
author | George Hazan <george.hazan@gmail.com> | 2012-05-27 19:56:57 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-05-27 19:56:57 +0000 |
commit | 69979c145ec7d6c843635aedd0dc57158ec866d1 (patch) | |
tree | b14fe6d3676080cf950cb97e4354d3618b118e6a /src/modules | |
parent | bc62befe65f4ff950bb192d703fb38a9336d5a51 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@201 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/protocols/protocols.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/protocols/protocols.cpp b/src/modules/protocols/protocols.cpp index 60b53aeaf4..02b7c43f23 100644 --- a/src/modules/protocols/protocols.cpp +++ b/src/modules/protocols/protocols.cpp @@ -54,11 +54,9 @@ static INT_PTR Proto_BroadcastAck(WPARAM wParam, LPARAM lParam) {
#ifdef _UNICODE
ACKDATA *ack = (ACKDATA*)lParam;
- if (ack && ack->type == ACKTYPE_AVATAR && ack->hProcess)
- {
+ if (ack && ack->type == ACKTYPE_AVATAR && ack->hProcess) {
PROTO_AVATAR_INFORMATION* ai = (PROTO_AVATAR_INFORMATION*)ack->hProcess;
- if (ai->cbSize == sizeof(PROTO_AVATAR_INFORMATION))
- {
+ if (ai->cbSize == sizeof(PROTO_AVATAR_INFORMATION)) {
PROTO_AVATAR_INFORMATIONW aiw = { sizeof(aiw), ai->hContact, ai->format };
MultiByteToWideChar(CP_ACP, 0, ai->filename, -1, aiw.filename, SIZEOF(aiw.filename));
|