summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/clistmod.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-26 14:37:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-26 14:37:37 +0000
commit08fa43d58030952c48bcb2a7179e18579662c301 (patch)
tree7a2fe3e5301ed2dce95e9957fd1874322c86f759 /plugins/Clist_nicer/src/clistmod.cpp
parent54e756a851c3c4af2638fca7d0642b0ee7f36056 (diff)
same parameter for clist_nicer
git-svn-id: http://svn.miranda-ng.org/main/trunk@9947 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/clistmod.cpp')
-rw-r--r--plugins/Clist_nicer/src/clistmod.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Clist_nicer/src/clistmod.cpp b/plugins/Clist_nicer/src/clistmod.cpp
index bcdd29a34c..1ee7074df1 100644
--- a/plugins/Clist_nicer/src/clistmod.cpp
+++ b/plugins/Clist_nicer/src/clistmod.cpp
@@ -44,8 +44,6 @@ static INT_PTR GetStatusMode(WPARAM wParam, LPARAM lParam)
return(g_maxStatus == ID_STATUS_OFFLINE ? pcli->currentDesiredStatusMode : g_maxStatus);
}
-extern int ( *saveIconFromStatusMode )( const char *szProto, int status, MCONTACT hContact );
-
int IconFromStatusMode(const char *szProto, int status, MCONTACT hContact, HICON *phIcon)
{
if (phIcon != NULL)
@@ -73,7 +71,7 @@ int IconFromStatusMode(const char *szProto, int status, MCONTACT hContact, HICON
}
}
- return saveIconFromStatusMode(szFinalProto, finalStatus, hContact);
+ return coreCli.pfnIconFromStatusMode(szFinalProto, finalStatus, hContact);
}
static int MenuItem_LockAvatar(WPARAM wParam, LPARAM lParam)