summaryrefslogtreecommitdiff
path: root/plugins/MetaContacts/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MetaContacts/src')
-rw-r--r--plugins/MetaContacts/src/edit.cpp8
-rw-r--r--plugins/MetaContacts/src/meta_menu.cpp1
2 files changed, 4 insertions, 5 deletions
diff --git a/plugins/MetaContacts/src/edit.cpp b/plugins/MetaContacts/src/edit.cpp
index a5866576dd..5980f905a4 100644
--- a/plugins/MetaContacts/src/edit.cpp
+++ b/plugins/MetaContacts/src/edit.cpp
@@ -91,11 +91,11 @@ void FillContactList(HWND hWndDlg, CHANGES *chg) {
}
LvItemW.pszText = swzContactDisplayName;
- SendMessageW(hList, LVM_INSERTITEMW, (WPARAM)0, (LPARAM)&LvItemW);
+ SendMessageW(hList, LVM_INSERTITEMW, 0, (LPARAM)&LvItemW);
} else {
LvItem.iSubItem = 0; // clist display name
LvItem.pszText = szCDN;
- SendMessage(hList, LVM_INSERTITEM, (WPARAM)0, (LPARAM)&LvItem);
+ SendMessage(hList, LVM_INSERTITEM, 0, (LPARAM)&LvItem);
}
}
@@ -426,7 +426,7 @@ INT_PTR CALLBACK Meta_EditDialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
return TRUE;
else
{
- Meta_Delete((WPARAM)changes.hMeta,(LPARAM)NULL);
+ Meta_Delete((WPARAM)changes.hMeta,0);
DestroyWindow(hwndDlg);
return TRUE;
}
@@ -446,7 +446,7 @@ INT_PTR CALLBACK Meta_EditDialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
{
return TRUE;
} else {
- Meta_Delete((WPARAM)changes.hMeta,(LPARAM)NULL);
+ Meta_Delete((WPARAM)changes.hMeta,0);
DestroyWindow(hwndDlg);
return TRUE;
}
diff --git a/plugins/MetaContacts/src/meta_menu.cpp b/plugins/MetaContacts/src/meta_menu.cpp
index 9cb430f8d5..fe718ba95b 100644
--- a/plugins/MetaContacts/src/meta_menu.cpp
+++ b/plugins/MetaContacts/src/meta_menu.cpp
@@ -493,7 +493,6 @@ int Meta_ModifyMenu(WPARAM wParam, LPARAM lParam)
CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hMenuContact[i], (LPARAM)&mi);
DestroyIcon(mi.hIcon);
- //CallService(MS_SKIN2_RELEASEICON, (WPARAM)mi.hIcon, 0);
} else {
mi.flags = CMIM_FLAGS | CMIF_HIDDEN;
CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hMenuContact[i], (LPARAM)&mi);