summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdlgutils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-26 14:54:32 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-26 14:54:32 +0000
commit15d257830f5f9148a7ccad2de719b1cf75f62598 (patch)
treed9666f29123dc4af154ed94b0c7c1f9ae3cb2f10 /plugins/TabSRMM/src/msgdlgutils.cpp
parent831890a8024a9519cdf725c5a098898734e54e93 (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/msgdlgutils.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdlgutils.cpp8
1 files changed, 4 insertions, 4 deletions
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;
}
}