summaryrefslogtreecommitdiff
path: root/plugins/YAPP/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-02 14:11:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-02 14:11:01 +0000
commit75b1ff75c42644eb36552762652e4b0c9ff071bc (patch)
tree238f026ef373d30a395846f38c302a81961b14ac /plugins/YAPP/src
parent2caba72d51b09368801f23dd8951d589ab4dc809 (diff)
final switch to the typed icolib api
git-svn-id: http://svn.miranda-ng.org/main/trunk@2152 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP/src')
-rw-r--r--plugins/YAPP/src/notify_imp.cpp8
-rw-r--r--plugins/YAPP/src/options.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/YAPP/src/notify_imp.cpp b/plugins/YAPP/src/notify_imp.cpp
index 54a0fddf34..131df92bf7 100644
--- a/plugins/YAPP/src/notify_imp.cpp
+++ b/plugins/YAPP/src/notify_imp.cpp
@@ -16,7 +16,7 @@ int Popup2Show(WPARAM wParam, LPARAM lParam) {
memset(pd_out, 0, sizeof(PopupData));
PostMPMessage(MUM_CREATEPOPUP, (WPARAM)hNotify, (LPARAM)pd_out);
- PostMPMessage(MUM_NMUPDATE, (WPARAM)hNotify, (LPARAM)0);
+ PostMPMessage(MUM_NMUPDATE, (WPARAM)hNotify, 0);
return 0;
}
@@ -26,12 +26,12 @@ INT_PTR svcPopup2Show(WPARAM wParam, LPARAM lParam) {
int Popup2Update(WPARAM wParam, LPARAM lParam) {
HANDLE hNotify = (HANDLE)lParam;
- PostMPMessage(MUM_NMUPDATE, (WPARAM)hNotify, (LPARAM)0);
+ PostMPMessage(MUM_NMUPDATE, (WPARAM)hNotify, 0);
return 0;
}
int AvatarChanged(WPARAM wParam, LPARAM lParam) {
- PostMPMessage(MUM_NMAVATAR, (WPARAM)0, (LPARAM)0);
+ PostMPMessage(MUM_NMAVATAR, 0, 0);
return 0;
}
@@ -42,7 +42,7 @@ INT_PTR svcPopup2Update(WPARAM wParam, LPARAM lParam) {
int Popup2Remove(WPARAM wParam, LPARAM lParam) {
HANDLE hNotify = (HANDLE)lParam;
- PostMPMessage(MUM_NMREMOVE, (WPARAM)hNotify, (LPARAM)0);
+ PostMPMessage(MUM_NMREMOVE, (WPARAM)hNotify, 0);
return 0;
}
diff --git a/plugins/YAPP/src/options.cpp b/plugins/YAPP/src/options.cpp
index fe231b18b2..848dbec76c 100644
--- a/plugins/YAPP/src/options.cpp
+++ b/plugins/YAPP/src/options.cpp
@@ -187,7 +187,7 @@ static INT_PTR CALLBACK DlgProcOpts1(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
char *strptr;
int i = 0;
for (; i < 10; i++) {
- strptr = (char *)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, (WPARAM)(ID_STATUS_OFFLINE + i), (LPARAM)0);
+ strptr = (char *)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, (WPARAM)(ID_STATUS_OFFLINE + i), 0);
lvI.pszText = mir_a2t(strptr);
lvI.iItem = i;
ListView_InsertItem(hwndList, &lvI);