diff options
Diffstat (limited to 'plugins/ImportTXT/importtxtdlg.pas')
-rw-r--r-- | plugins/ImportTXT/importtxtdlg.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ImportTXT/importtxtdlg.pas b/plugins/ImportTXT/importtxtdlg.pas index 0fafe155c1..04927c61ab 100644 --- a/plugins/ImportTXT/importtxtdlg.pas +++ b/plugins/ImportTXT/importtxtdlg.pas @@ -93,7 +93,7 @@ begin WM_INITDIALOG:
begin
TranslateDialogDefault(Dialog);
- tempwstr := PWideChar(CallService(MS_CLIST_GETCONTACTDISPLAYNAME,lParam,GCDNF_UNICODE));
+ tempwstr := cli^.pfnGetContactDisplayName(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)));
|