diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-05 22:10:25 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-05 22:10:25 +0300 |
commit | 35e2289786a7f1542573d1a58ebc971970ea981c (patch) | |
tree | da8887c793611fdbf6072fd477fd8c01c60b8b02 /plugins/MirFox/src | |
parent | f7c00d6dc53774d16b9721e79ed5d4017af63884 (diff) |
CLIST_INTERFACE::pfnGetContactDisplayName => Clist_GetContactDisplayName
Diffstat (limited to 'plugins/MirFox/src')
-rw-r--r-- | plugins/MirFox/src/MirandaInterface.cpp | 3 | ||||
-rw-r--r-- | plugins/MirFox/src/MirfoxData.cpp | 2 |
2 files changed, 1 insertions, 4 deletions
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()){
|