From 2072201029bdd799396b37de23410bab71cc653e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 21 Jun 2013 16:58:18 +0000 Subject: minor code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@5083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Nudge/src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Nudge/src/main.cpp') diff --git a/plugins/Nudge/src/main.cpp b/plugins/Nudge/src/main.cpp index 70e4bf301e..144a585c07 100644 --- a/plugins/Nudge/src/main.cpp +++ b/plugins/Nudge/src/main.cpp @@ -484,7 +484,7 @@ void Nudge_SentStatus(CNudgeElement n, HANDLE hContact) NudgeEvent.cbBlob = (DWORD)strlen(buff) + 1; NudgeEvent.pBlob = ( PBYTE ) buff; - INT_PTR res = CallService( MS_MC_GETMETACONTACT, (WPARAM)hContact, 0 ); //try to retrieve the metacontact if some + INT_PTR res = CallService(MS_MC_GETMETACONTACT, (WPARAM)hContact, 0 ); //try to retrieve the metacontact if some if(res != CALLSERVICE_NOTFOUND) { HANDLE hMetaContact = (HANDLE) res; if(hMetaContact != NULL) //metacontact @@ -510,7 +510,7 @@ void Nudge_ShowStatus(CNudgeElement n, HANDLE hContact, DWORD timestamp) NudgeEvent.pBlob = ( PBYTE ) buff; - INT_PTR res = CallService( MS_MC_GETMETACONTACT, (WPARAM)hContact, 0 ); //try to retrieve the metacontact if some + INT_PTR res = CallService(MS_MC_GETMETACONTACT, (WPARAM)hContact, 0 ); //try to retrieve the metacontact if some if(res != CALLSERVICE_NOTFOUND) { HANDLE hMetaContact = (HANDLE) res; if(hMetaContact != NULL) { //metacontact @@ -524,7 +524,7 @@ void Nudge_ShowStatus(CNudgeElement n, HANDLE hContact, DWORD timestamp) HANDLE Nudge_GethContact(HANDLE hContact) { - INT_PTR res = CallService( MS_MC_GETMETACONTACT, (WPARAM)hContact, 0 ); + INT_PTR res = CallService(MS_MC_GETMETACONTACT, (WPARAM)hContact, 0 ); if(res!=CALLSERVICE_NOTFOUND) { HANDLE hMetaContact = (HANDLE) res; -- cgit v1.2.3