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/WebView/src/main.cpp | 2 -- plugins/WebView/src/webview_alerts.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/WebView/src') diff --git a/plugins/WebView/src/main.cpp b/plugins/WebView/src/main.cpp index ae13134832..b56ba33794 100644 --- a/plugins/WebView/src/main.cpp +++ b/plugins/WebView/src/main.cpp @@ -28,7 +28,6 @@ HNETLIBUSER hNetlibUser; HANDLE hHookDisplayDataAlert, hHookAlertPopup, hHookAlertWPopup, hHookErrorPopup, hHookAlertOSD; int hLangpack = 0; -CLIST_INTERFACE *pcli; static HMODULE hRichEd = nullptr; PLUGININFOEX pluginInfoEx = { @@ -126,7 +125,6 @@ extern "C" int __declspec(dllexport) Unload(void) extern "C" int __declspec(dllexport) Load() { mir_getLP(&pluginInfoEx); - pcli = Clist_GetInterface(); HookEvent(ME_CLIST_DOUBLECLICKED, Doubleclick); diff --git a/plugins/WebView/src/webview_alerts.cpp b/plugins/WebView/src/webview_alerts.cpp index 78d217a383..d3dc4fc415 100644 --- a/plugins/WebView/src/webview_alerts.cpp +++ b/plugins/WebView/src/webview_alerts.cpp @@ -186,7 +186,7 @@ int ErrorMsgs(WPARAM wParam, LPARAM lParam) if (db_get_b(NULL, MODULENAME, SUPPRESS_ERR_KEY, 0)) return 0; - wchar_t *ptszContactName = pcli->pfnGetContactDisplayName(hContact, 0); + wchar_t *ptszContactName = Clist_GetContactDisplayName(hContact); if (ServiceExists(MS_POPUP_ADDPOPUPT) && db_get_b(NULL, MODULENAME, ERROR_POPUP_KEY, 0)) { mir_snwprintf(newdisplaytext, L"%s\n%s", ptszContactName, displaytext); PUShowMessageT(newdisplaytext, SM_WARNING); -- cgit v1.2.3