summaryrefslogtreecommitdiff
path: root/plugins/MobileState
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-10 21:37:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-10 21:37:41 +0000
commitee68ac82d5aabb596e8bd0f2b9286827ca2ce545 (patch)
tree2b330d60da88d6c195ae1943ad93fe2b393469fd /plugins/MobileState
parent6aff7a968c46f4080a24bd372c6ec1337766adf7 (diff)
these conversions aren't needed either
git-svn-id: http://svn.miranda-ng.org/main/trunk@8088 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MobileState')
-rw-r--r--plugins/MobileState/src/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MobileState/src/main.cpp b/plugins/MobileState/src/main.cpp
index ef0cd8ddb7..9130103774 100644
--- a/plugins/MobileState/src/main.cpp
+++ b/plugins/MobileState/src/main.cpp
@@ -71,10 +71,10 @@ int ExtraIconsApply(WPARAM wParam, LPARAM lParam)
if (wParam == NULL)
return 0;
- if (hasMobileClient((MCONTACT)wParam, lParam))
- ExtraIcon_SetIcon(hExtraIcon, (MCONTACT)wParam, "mobile_icon");
+ if (hasMobileClient(wParam, lParam))
+ ExtraIcon_SetIcon(hExtraIcon, wParam, "mobile_icon");
else
- ExtraIcon_Clear(hExtraIcon, (MCONTACT)wParam);
+ ExtraIcon_Clear(hExtraIcon, wParam);
return 0;
}
@@ -82,7 +82,7 @@ int ExtraIconsApply(WPARAM wParam, LPARAM lParam)
int onContactSettingChanged(WPARAM wParam,LPARAM lParam)
{
DBCONTACTWRITESETTING *cws=(DBCONTACTWRITESETTING*)lParam;
- char *proto = GetContactProto((MCONTACT)wParam);
+ char *proto = GetContactProto(wParam);
if (!proto)
return 0;