From 15d257830f5f9148a7ccad2de719b1cf75f62598 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 26 Feb 2014 14:54:32 +0000 Subject: MCONTACT-related code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@8277 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msgdlgutils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp') diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp index 06ad8cb2cc..91e977e721 100644 --- a/plugins/TabSRMM/src/msgdlgutils.cpp +++ b/plugins/TabSRMM/src/msgdlgutils.cpp @@ -375,7 +375,7 @@ int TSAPI MsgWindowMenuHandler(TWindowData *dat, int selection, int menuId) if ( (si != NULL) && (dat->hContact != NULL)) { char *szProto = GetContactProto(dat->hContact); if (szProto) - CallProtoService( szProto, PS_LEAVECHAT, (WPARAM)dat->hContact, 0 ); + CallProtoService( szProto, PS_LEAVECHAT, dat->hContact, 0 ); } } return 1; @@ -418,13 +418,13 @@ int TSAPI MsgWindowMenuHandler(TWindowData *dat, int selection, int menuId) break; case ID_PICMENU_SETTINGS: { if (menuId == MENU_PANELPICMENU) - CallService(MS_AV_CONTACTOPTIONS, (WPARAM)dat->hContact, 0); + CallService(MS_AV_CONTACTOPTIONS, dat->hContact, 0); else if (menuId == MENU_PICMENU) { if (dat->Panel->isActive()) { if (ServiceExists(MS_AV_SETMYAVATAR) && CallService(MS_AV_CANSETMYAVATAR, (WPARAM)(dat->cache->getActiveProto()), 0)) CallService(MS_AV_SETMYAVATAR, (WPARAM)(dat->cache->getActiveProto()), 0); } else - CallService(MS_AV_CONTACTOPTIONS, (WPARAM)dat->hContact, 0); + CallService(MS_AV_CONTACTOPTIONS, dat->hContact, 0); } } return 1; @@ -448,7 +448,7 @@ int TSAPI MsgWindowMenuHandler(TWindowData *dat, int selection, int menuId) return 1; case ID_MESSAGELOGSETTINGS_FORTHISCONTACT: - CallService(MS_TABMSG_SETUSERPREFS, (WPARAM)dat->hContact, 0); + CallService(MS_TABMSG_SETUSERPREFS, dat->hContact, 0); return 1; } } -- cgit v1.2.3