summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-05 22:10:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-05 22:10:25 +0300
commit35e2289786a7f1542573d1a58ebc971970ea981c (patch)
treeda8887c793611fdbf6072fd477fd8c01c60b8b02 /plugins/HistoryStats/src
parentf7c00d6dc53774d16b9721e79ed5d4017af63884 (diff)
CLIST_INTERFACE::pfnGetContactDisplayName => Clist_GetContactDisplayName
Diffstat (limited to 'plugins/HistoryStats/src')
-rw-r--r--plugins/HistoryStats/src/main.cpp2
-rw-r--r--plugins/HistoryStats/src/mirandahistory.cpp2
-rw-r--r--plugins/HistoryStats/src/settingsserializer.cpp2
3 files changed, 2 insertions, 4 deletions
diff --git a/plugins/HistoryStats/src/main.cpp b/plugins/HistoryStats/src/main.cpp
index 7f64ab6243..432ae9ce7e 100644
--- a/plugins/HistoryStats/src/main.cpp
+++ b/plugins/HistoryStats/src/main.cpp
@@ -11,7 +11,6 @@
#include "iconlib.h"
#include "dlgconfigure.h"
-CLIST_INTERFACE *pcli;
HINSTANCE g_hInst;
int hLangpack;
@@ -402,7 +401,6 @@ extern "C" __declspec(dllexport) const PLUGININFOEX* MirandaPluginInfoEx(DWORD)
extern "C" __declspec(dllexport) int Load()
{
mir_getLP(&g_pluginInfoEx);
- pcli = Clist_GetInterface();
// init COM, needed for GUID generation
CoInitialize(nullptr);
diff --git a/plugins/HistoryStats/src/mirandahistory.cpp b/plugins/HistoryStats/src/mirandahistory.cpp
index 6caea4fb75..e2488cc4ee 100644
--- a/plugins/HistoryStats/src/mirandahistory.cpp
+++ b/plugins/HistoryStats/src/mirandahistory.cpp
@@ -66,7 +66,7 @@ void MirandaHistory::readContacts()
if (!pProtoName)
pProtoName = con::ProtoUnknown; // MEMO: alternative would be "break;"
- ext::string curNick = pcli->pfnGetContactDisplayName(hContact, 0);
+ ext::string curNick = Clist_GetContactDisplayName(hContact);
// retrieve protocol
const ext::a::string curProtoName = pProtoName;
diff --git a/plugins/HistoryStats/src/settingsserializer.cpp b/plugins/HistoryStats/src/settingsserializer.cpp
index cb6015eb8a..5696dc73a4 100644
--- a/plugins/HistoryStats/src/settingsserializer.cpp
+++ b/plugins/HistoryStats/src/settingsserializer.cpp
@@ -17,7 +17,7 @@ void SettingsSerializer::readFromDB()
{
clearColumns();
- ext::string defaultNick = pcli->pfnGetContactDisplayName(0, 0);
+ ext::string defaultNick = Clist_GetContactDisplayName(0);
SettingsTree settingsTree;
// read version tag