diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-26 14:54:32 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-26 14:54:32 +0000 |
commit | 15d257830f5f9148a7ccad2de719b1cf75f62598 (patch) | |
tree | d9666f29123dc4af154ed94b0c7c1f9ae3cb2f10 /plugins/TabSRMM/src/container.cpp | |
parent | 831890a8024a9519cdf725c5a098898734e54e93 (diff) |
MCONTACT-related code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@8277 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/container.cpp')
-rw-r--r-- | plugins/TabSRMM/src/container.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp index 12ba5216fa..5c30455b8a 100644 --- a/plugins/TabSRMM/src/container.cpp +++ b/plugins/TabSRMM/src/container.cpp @@ -981,7 +981,7 @@ panel_found: if (si && dat->hContact) {
char *szProto = GetContactProto(dat->hContact);
if (szProto)
- CallProtoService( szProto, PS_LEAVECHAT, (WPARAM)dat->hContact, 0 );
+ CallProtoService( szProto, PS_LEAVECHAT, dat->hContact, 0 );
}
}
break;
@@ -2345,9 +2345,9 @@ HMENU TSAPI BuildMCProtocolMenu(HWND hwndDlg) AppendMenu(hMenu, MF_STRING | MF_DISABLED | MF_GRAYED | MF_CHECKED, 1, TranslateT("Meta Contact"));
AppendMenu(hMenu, MF_SEPARATOR, 1, _T(""));
- int iNumProtos = (int)CallService(MS_MC_GETNUMCONTACTS, (WPARAM)dat->hContact, 0);
- int iDefaultProtoByNum = (int)CallService(MS_MC_GETDEFAULTCONTACTNUM, (WPARAM)dat->hContact, 0);
- MCONTACT hContactMostOnline = (MCONTACT)CallService(MS_MC_GETMOSTONLINECONTACT, (WPARAM)dat->hContact, 0);
+ int iNumProtos = (int)CallService(MS_MC_GETNUMCONTACTS, dat->hContact, 0);
+ int iDefaultProtoByNum = (int)CallService(MS_MC_GETDEFAULTCONTACTNUM, dat->hContact, 0);
+ MCONTACT hContactMostOnline = (MCONTACT)CallService(MS_MC_GETMOSTONLINECONTACT, dat->hContact, 0);
char *szProtoMostOnline = GetContactProto(hContactMostOnline);
int isForced = M.GetDword(dat->hContact, "tabSRMM_forced", -1);
|