From 35e2289786a7f1542573d1a58ebc971970ea981c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 5 Apr 2018 22:10:25 +0300 Subject: CLIST_INTERFACE::pfnGetContactDisplayName => Clist_GetContactDisplayName --- plugins/ShellExt/src/main.cpp | 2 -- plugins/ShellExt/src/shlcom.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/ShellExt/src') diff --git a/plugins/ShellExt/src/main.cpp b/plugins/ShellExt/src/main.cpp index 266c80287e..d81a8f416c 100644 --- a/plugins/ShellExt/src/main.cpp +++ b/plugins/ShellExt/src/main.cpp @@ -1,7 +1,6 @@ #include "stdafx.h" #include "shlcom.h" -CLIST_INTERFACE *pcli; HINSTANCE hInst; int hLangpack; bool bIsVistaPlus; @@ -161,7 +160,6 @@ STDAPI DllUnregisterServer() extern "C" __declspec(dllexport) int Load(void) { mir_getLP(&pluginInfoEx); - pcli = Clist_GetInterface(); InvokeThreadServer(); HookEvent(ME_OPT_INITIALISE, OnOptionsInit); diff --git a/plugins/ShellExt/src/shlcom.cpp b/plugins/ShellExt/src/shlcom.cpp index 020a2bd435..9307ddf530 100644 --- a/plugins/ShellExt/src/shlcom.cpp +++ b/plugins/ShellExt/src/shlcom.cpp @@ -301,7 +301,7 @@ bool ipcGetSortedContacts(THeaderIPC *ipch, int *pSlot, bool bGroupMode) // create an IPC slot for each contact and store display name, etc for (i = 0; i < dwContacts; i++) { - ptrA szContact(mir_u2a(pcli->pfnGetContactDisplayName(pContacts[i].hContact, 0))); + ptrA szContact(mir_u2a(Clist_GetContactDisplayName(pContacts[i].hContact))); if (szContact != NULL) { ptrA szGroup; if (bGroupMode) -- cgit v1.2.3