From 371db973914f270432e914922b735e01279c5db8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 12 Feb 2014 14:12:44 +0000 Subject: another bunch of useless conversions died git-svn-id: http://svn.miranda-ng.org/main/trunk@8109 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MetaContacts/src/meta_utils.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/MetaContacts/src/meta_utils.cpp') diff --git a/plugins/MetaContacts/src/meta_utils.cpp b/plugins/MetaContacts/src/meta_utils.cpp index 4d83038cd3..6789e21352 100644 --- a/plugins/MetaContacts/src/meta_utils.cpp +++ b/plugins/MetaContacts/src/meta_utils.cpp @@ -719,7 +719,7 @@ int Meta_SetHandles(void) MessageBox(0, TranslateT("Subcontact contact number < 0 - deleting MetaContact"), nick_buffer, MB_OK | MB_ICONERROR); //CallService(MS_DB_CONTACT_DELETE, (WPARMA)hContact, 0); hNextContact = db_find_next(hContact); - Meta_Delete((WPARAM)hContact, (LPARAM)1); + Meta_Delete(hContact, (LPARAM)1); hContact = hNextContact; continue; //return 1; @@ -758,7 +758,7 @@ int Meta_SetHandles(void) MessageBox(0, buff, nick_buffer, MB_OK | MB_ICONERROR); hNextContact = db_find_next(hContact); - Meta_Delete((WPARAM)hContact, (LPARAM)1); + Meta_Delete(hContact, (LPARAM)1); hContact = hNextContact; continue; } @@ -781,7 +781,7 @@ int Meta_SetHandles(void) // stop ignoring, if we were if (options.suppress_status) - CallService(MS_IGNORE_UNIGNORE, (WPARAM)hContact, (WPARAM)IGNOREEVENT_USERONLINE); + CallService(MS_IGNORE_UNIGNORE, hContact, (WPARAM)IGNOREEVENT_USERONLINE); } else { @@ -809,7 +809,7 @@ int Meta_SetHandles(void) // problem MessageBox(0, TranslateT("MetaContact number of contacts < 0 - deleting MetaContact"), nick_buffer, MB_OK | MB_ICONERROR); hNextContact = db_find_next(hContact); - Meta_Delete((WPARAM)hContact, (LPARAM)1); + Meta_Delete(hContact, (LPARAM)1); hContact = hNextContact; continue; } @@ -818,7 +818,7 @@ int Meta_SetHandles(void) // problem MessageBox(0, TranslateT("MetaContact default contact number out of range - deleting MetaContact"), nick_buffer, MB_OK | MB_ICONERROR); hNextContact = db_find_next(hContact); - Meta_Delete((WPARAM)hContact, (LPARAM)1); + Meta_Delete(hContact, (LPARAM)1); hContact = hNextContact; continue; } @@ -841,7 +841,7 @@ int Meta_SetHandles(void) _tcscat(nick_buffer, _itot(meta_id, buffer2, 10)); MessageBox(0, TranslateT("MetaContact corrupted - the number of subcontacts is incorrect.\nDeleting MetaContact."), nick_buffer, MB_OK | MB_ICONERROR); - Meta_Delete((WPARAM)hContact, (LPARAM)1); + Meta_Delete(hContact, (LPARAM)1); hContact = hNextContact; continue; } @@ -950,7 +950,7 @@ int Meta_HideLinkedContacts(void) { } if (options.suppress_status) - CallService(MS_IGNORE_IGNORE, (WPARAM)hContact, (WPARAM)IGNOREEVENT_USERONLINE); + CallService(MS_IGNORE_IGNORE, hContact, (WPARAM)IGNOREEVENT_USERONLINE); } hContact = db_find_next(hContact); @@ -1122,9 +1122,9 @@ int Meta_SuppressStatus(BOOL suppress) if (db_get_dw(hContact, META_PROTO, META_LINK,(DWORD)-1)!=(DWORD)-1) { // is a subcontact if (suppress) - CallService(MS_IGNORE_IGNORE, (WPARAM)hContact, (WPARAM)IGNOREEVENT_USERONLINE); + CallService(MS_IGNORE_IGNORE, hContact, (WPARAM)IGNOREEVENT_USERONLINE); else - CallService(MS_IGNORE_UNIGNORE, (WPARAM)hContact, (WPARAM)IGNOREEVENT_USERONLINE); + CallService(MS_IGNORE_UNIGNORE, hContact, (WPARAM)IGNOREEVENT_USERONLINE); } } -- cgit v1.2.3