diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-12 14:12:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-12 14:12:44 +0000 |
commit | 371db973914f270432e914922b735e01279c5db8 (patch) | |
tree | 4f402371dec7eacf536f61f691af3965cee09261 /src/modules/extraicons | |
parent | 7d9f85b1487f0f25d6d616d5cd9af61962af7781 (diff) |
another bunch of useless conversions died
git-svn-id: http://svn.miranda-ng.org/main/trunk@8109 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/extraicons')
-rw-r--r-- | src/modules/extraicons/BaseExtraIcon.cpp | 2 | ||||
-rw-r--r-- | src/modules/extraicons/CallbackExtraIcon.cpp | 2 | ||||
-rw-r--r-- | src/modules/extraicons/extraicons.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/extraicons/BaseExtraIcon.cpp b/src/modules/extraicons/BaseExtraIcon.cpp index 56631313e3..0d3106972c 100644 --- a/src/modules/extraicons/BaseExtraIcon.cpp +++ b/src/modules/extraicons/BaseExtraIcon.cpp @@ -68,7 +68,7 @@ void BaseExtraIcon::setDescIcon(const char *icon) void BaseExtraIcon::onClick(MCONTACT hContact)
{
if (OnClick != NULL)
- OnClick((WPARAM)hContact, (LPARAM)ConvertToClistSlot(slot), onClickParam);
+ OnClick(hContact, (LPARAM)ConvertToClistSlot(slot), onClickParam);
}
int BaseExtraIcon::ClistSetExtraIcon(MCONTACT hContact, HANDLE hImage)
diff --git a/src/modules/extraicons/CallbackExtraIcon.cpp b/src/modules/extraicons/CallbackExtraIcon.cpp index 73badf0fc9..5963b38e2b 100644 --- a/src/modules/extraicons/CallbackExtraIcon.cpp +++ b/src/modules/extraicons/CallbackExtraIcon.cpp @@ -58,7 +58,7 @@ void CallbackExtraIcon::applyIcon(MCONTACT hContact) if (needToRebuild)
rebuildIcons();
- ApplyIcon((WPARAM)hContact, 0);
+ ApplyIcon(hContact, 0);
}
int CallbackExtraIcon::setIcon(int id, MCONTACT hContact, HANDLE icon)
diff --git a/src/modules/extraicons/extraicons.cpp b/src/modules/extraicons/extraicons.cpp index 037c97e142..389b8a1e07 100644 --- a/src/modules/extraicons/extraicons.cpp +++ b/src/modules/extraicons/extraicons.cpp @@ -91,7 +91,7 @@ int Clist_SetExtraIcon(MCONTACT hContact, int slot, HANDLE hImage) if (icol == -1)
return -1;
- HANDLE hItem = (HANDLE)SendMessage(cli.hwndContactTree, CLM_FINDCONTACT, (WPARAM)hContact, 0);
+ HANDLE hItem = (HANDLE)SendMessage(cli.hwndContactTree, CLM_FINDCONTACT, hContact, 0);
if (hItem == 0)
return -1;
@@ -332,7 +332,7 @@ void fnSetAllExtraIcons(MCONTACT hContact) if (pdnce == NULL)
continue;
- NotifyEventHooks(hEventExtraImageApplying, (WPARAM)hContact, 0);
+ NotifyEventHooks(hEventExtraImageApplying, hContact, 0);
if (hcontgiven) break;
Sleep(0);
}
|