diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-09 15:47:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-09 15:47:48 +0000 |
commit | e52132834312c3d956323650f4fa34e94b95325e (patch) | |
tree | 21fe856be6322cf844945c7dbde57c9fa0f25156 /protocols/WhatsApp/src/theme.cpp | |
parent | 6ea844fd51084c2e78fe400e1a9034c7960a922a (diff) |
forgotten to adapt wasuup
git-svn-id: http://svn.miranda-ng.org/main/trunk@5298 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/theme.cpp')
-rw-r--r-- | protocols/WhatsApp/src/theme.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/WhatsApp/src/theme.cpp b/protocols/WhatsApp/src/theme.cpp index 4c6a578c0f..0e277544a4 100644 --- a/protocols/WhatsApp/src/theme.cpp +++ b/protocols/WhatsApp/src/theme.cpp @@ -53,7 +53,7 @@ static WhatsAppProto* GetInstanceByHContact(HANDLE hContact) return 0;
}
-template<int (__cdecl WhatsAppProto::*Fcn)(WPARAM,LPARAM)>
+template<INT_PTR (__cdecl WhatsAppProto::*Fcn)(WPARAM,LPARAM)>
INT_PTR GlobalService(WPARAM wParam,LPARAM lParam)
{
WhatsAppProto *proto = GetInstanceByHContact(reinterpret_cast<HANDLE>(wParam));
@@ -67,7 +67,6 @@ INT_PTR GlobalServiceParam(WPARAM wParam,LPARAM lParam, LPARAM lParam2) return proto ? (proto->*Fcn)(wParam,lParam,lParam2) : 0;
}
-
static int PrebuildContactMenu(WPARAM wParam,LPARAM lParam)
{
for (size_t i=0; i<SIZEOF(g_hContactMenuItems); i++)
@@ -79,7 +78,7 @@ static int PrebuildContactMenu(WPARAM wParam,LPARAM lParam) void WhatsAppProto::InitContactMenus()
{
- HookEvent(ME_CLIST_PREBUILDCONTACTMENU, PrebuildContactMenu);
+ ::HookEvent(ME_CLIST_PREBUILDCONTACTMENU, PrebuildContactMenu);
CLISTMENUITEM mi = {sizeof(mi)};
|