From 69979c145ec7d6c843635aedd0dc57158ec866d1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 27 May 2012 19:56:57 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@201 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/protocols/protocols.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/modules/protocols') 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)); -- cgit v1.2.3