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/MirFox/src/MirandaInterface.cpp | 3 --- plugins/MirFox/src/MirfoxData.cpp | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'plugins/MirFox/src') diff --git a/plugins/MirFox/src/MirandaInterface.cpp b/plugins/MirFox/src/MirandaInterface.cpp index 95d9d0feb5..b4f2f6ef0b 100644 --- a/plugins/MirFox/src/MirandaInterface.cpp +++ b/plugins/MirFox/src/MirandaInterface.cpp @@ -2,8 +2,6 @@ #include "version.h" #include "mirandaInterface.h" -CLIST_INTERFACE *pcli; - //Miranda - handle from DllMain HINSTANCE hInst; @@ -148,7 +146,6 @@ static int OnShutdown(WPARAM, LPARAM) extern "C" int __declspec(dllexport) Load(void) { mir_getLP(&pluginInfo); - pcli = Clist_GetInterface(); HookEvent(ME_SYSTEM_MODULESLOADED, onModulesLoaded); HookEvent(ME_SYSTEM_SHUTDOWN, OnShutdown); diff --git a/plugins/MirFox/src/MirfoxData.cpp b/plugins/MirFox/src/MirfoxData.cpp index 9a29cf99d7..a58df3d5f0 100644 --- a/plugins/MirFox/src/MirfoxData.cpp +++ b/plugins/MirFox/src/MirfoxData.cpp @@ -135,7 +135,7 @@ MirfoxData::setContactDisplayName(MirandaContact* mirandaContact){ } } else { // standard miranda way for another protocols - mirandaContact->contactNameW = pcli->pfnGetContactDisplayName(mirandaContact->contactHandle, 0); + mirandaContact->contactNameW = Clist_GetContactDisplayName(mirandaContact->contactHandle); } if (getAddAccountToContactNameCheckbox()){ -- cgit v1.2.3