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/WinterSpeak | |
parent | f7c00d6dc53774d16b9721e79ed5d4017af63884 (diff) |
CLIST_INTERFACE::pfnGetContactDisplayName => Clist_GetContactDisplayName
Diffstat (limited to 'plugins/WinterSpeak')
-rw-r--r-- | plugins/WinterSpeak/src/UserInformation.cpp | 4 | ||||
-rw-r--r-- | plugins/WinterSpeak/src/main.cpp | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/plugins/WinterSpeak/src/UserInformation.cpp b/plugins/WinterSpeak/src/UserInformation.cpp index 242f4d75b7..7769261257 100644 --- a/plugins/WinterSpeak/src/UserInformation.cpp +++ b/plugins/WinterSpeak/src/UserInformation.cpp @@ -61,9 +61,9 @@ void UserInformation::insertName(std::wstring &str, MCONTACT user) const }
//------------------------------------------------------------------------------
-std::wstring UserInformation::nameString(MCONTACT user) const
+std::wstring UserInformation::nameString(MCONTACT hContact) const
{
- WCHAR *ret = pcli->pfnGetContactDisplayName(user, 0);
+ WCHAR *ret = Clist_GetContactDisplayName(hContact);
if (nullptr == ret)
return L"";
diff --git a/plugins/WinterSpeak/src/main.cpp b/plugins/WinterSpeak/src/main.cpp index 293a296ec5..34b0c95268 100644 --- a/plugins/WinterSpeak/src/main.cpp +++ b/plugins/WinterSpeak/src/main.cpp @@ -1,6 +1,5 @@ #include "stdafx.h"
-CLIST_INTERFACE *pcli;
HINSTANCE g_hInst;
int hLangpack;
DWORD g_mirandaVersion;
@@ -105,7 +104,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda extern "C" __declspec(dllexport) int Load(void)
{
mir_getLP(&pluginInfo);
- pcli = Clist_GetInterface();
if (!g_speak_config)
{
|