diff options
Diffstat (limited to 'src/core/stduihist')
-rw-r--r-- | src/core/stduihist/src/history.cpp | 2 | ||||
-rw-r--r-- | src/core/stduihist/src/main.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/core/stduihist/src/history.cpp b/src/core/stduihist/src/history.cpp index fafb7a8f64..ddddbf99da 100644 --- a/src/core/stduihist/src/history.cpp +++ b/src/core/stduihist/src/history.cpp @@ -207,7 +207,7 @@ static INT_PTR CALLBACK DlgProcHistory(HWND hwndDlg, UINT msg, WPARAM wParam, LP Utils_RestoreWindowPosition(hwndDlg, hContact, "History", "");
{
wchar_t* contactName, str[200];
- contactName = pcli->pfnGetContactDisplayName(hContact, 0);
+ contactName = Clist_GetContactDisplayName(hContact);
mir_snwprintf(str, TranslateT("History for %s"), contactName);
SetWindowText(hwndDlg, str);
}
diff --git a/src/core/stduihist/src/main.cpp b/src/core/stduihist/src/main.cpp index 9236e98444..a598b630cc 100644 --- a/src/core/stduihist/src/main.cpp +++ b/src/core/stduihist/src/main.cpp @@ -23,7 +23,6 @@ with this program; if not, write to the Free Software Foundation, Inc., int LoadHistoryModule(void);
-CLIST_INTERFACE* pcli;
HINSTANCE hInst;
int hLangpack;
@@ -56,7 +55,6 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_UIHIST extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
- pcli = Clist_GetInterface();
LoadHistoryModule();
return 0;
|