summaryrefslogtreecommitdiff
path: root/plugins/ImportTXT/importtxtdlg.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ImportTXT/importtxtdlg.pas')
-rw-r--r--plugins/ImportTXT/importtxtdlg.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ImportTXT/importtxtdlg.pas b/plugins/ImportTXT/importtxtdlg.pas
index 04927c61ab..3acb77f0a7 100644
--- a/plugins/ImportTXT/importtxtdlg.pas
+++ b/plugins/ImportTXT/importtxtdlg.pas
@@ -93,7 +93,7 @@ begin
WM_INITDIALOG:
begin
TranslateDialogDefault(Dialog);
- tempwstr := cli^.pfnGetContactDisplayName(lParam,0);
+ tempwstr := Clist_GetContactDisplayName(lParam,0);
s := WideFormat(TranslateWideString('Import history to %s (%s)'), [tempwstr, GetContactID(lParam)]);
SetWindowTextW(Dialog, PWideChar(s));
SendMessage(Dialog, WM_SETICON, ICON_SMALL, LoadIcon(hInstance, MAKEINTRESOURCE(IDI_DEFAULT)));