summaryrefslogtreecommitdiff
path: root/importtxt/importtxtdlg.pas
diff options
context:
space:
mode:
Diffstat (limited to 'importtxt/importtxtdlg.pas')
-rw-r--r--importtxt/importtxtdlg.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/importtxt/importtxtdlg.pas b/importtxt/importtxtdlg.pas
index af70699..84f1c3a 100644
--- a/importtxt/importtxtdlg.pas
+++ b/importtxt/importtxtdlg.pas
@@ -105,7 +105,7 @@ begin
WM_INITDIALOG: begin
TranslateDialogDefault(Dialog);
tempwstr:=ANSIToWide(PChar(GetContactDisplayName(lParam)),tempwstr,cp);
- s:=TranslateWideString(WideFormat('Import history to %s (%s)',[tempwstr,GetContactID(lParam)]));
+ 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)));
FillChar(ITDD,SizeOf(TImpTxtDlgData),0);