diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-04-24 16:12:17 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-04-24 16:12:17 +0000 |
commit | b69a7f60f7ef2b0ce17a69fe8e772aec9c7dcdd8 (patch) | |
tree | 7acaf35a4b7d194f931d996cd150bcf9fb30014d | |
parent | d99050eaf8b07ed356b5b6dbda72a016fc1d3994 (diff) |
importtxt:
compilation fix
translation fix
added "." in the end of description
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@23 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
-rw-r--r-- | importtxt/BICQ5IP.inc | 6 | ||||
-rw-r--r-- | importtxt/importtxt.dpr | 2 | ||||
-rw-r--r-- | importtxt/importtxtdlg.pas | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/importtxt/BICQ5IP.inc b/importtxt/BICQ5IP.inc index b3b7d30..581085e 100644 --- a/importtxt/BICQ5IP.inc +++ b/importtxt/BICQ5IP.inc @@ -1,6 +1,6 @@ {$ifdef BIN_IMPORT_}
var
- XI:XML_API;
+ XI:XML_API_W;
rhxml:HXML;
curxml:HXML;
chldxml:HXML;
@@ -13,11 +13,11 @@ var begin
If pluginLink^.ServiceExists(MS_SYSTEM_GET_XI)>0 then
begin
- XI.cbSize:=SizeOf(XML_API);
+ XI.cbSize:=SizeOf(XML_API_W);
res:=longbool(pluginLink^.CallService(MS_SYSTEM_GET_XI,0,Int(@XI)));
if not res then
begin
- XI.cbSize:=SizeOf(XML_API)-4;
+ XI.cbSize:=SizeOf(XML_API_W)-4;
res:=longbool(pluginLink^.CallService(MS_SYSTEM_GET_XI,0,Int(@XI)));
if not res then
begin
diff --git a/importtxt/importtxt.dpr b/importtxt/importtxt.dpr index 1de1eaa..c7a1ab3 100644 --- a/importtxt/importtxt.dpr +++ b/importtxt/importtxt.dpr @@ -37,7 +37,7 @@ const cbSize :sizeof(TPLUGININFOEX);
shortName :'Import TXT';
version :$0000010A;
- description:'Imports history saved in TXT files from other clients';
+ description:'Imports history saved in TXT files from other clients.';
author :'Abyss';
authorEmail:'abyss.andrey@gmail.com';
copyright :'(C)2008 Abyss';
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);
|