From e5921864a7020e65ddee7d5c83fb3ed0f9ddc106 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 6 Nov 2013 16:02:51 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@6807 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Actman30/iac_global.pas | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'plugins/Actman30/iac_global.pas') diff --git a/plugins/Actman30/iac_global.pas b/plugins/Actman30/iac_global.pas index 11bfbba275..1d7957a3bc 100644 --- a/plugins/Actman30/iac_global.pas +++ b/plugins/Actman30/iac_global.pas @@ -12,7 +12,7 @@ var const IcoLibPrefix = 'action_type_'; const - NoDescription:PWideChar='No Description'; + NoDescription:PWideChar='No description'; const protostr = ''; const @@ -94,7 +94,7 @@ function ImportContactINI(node:pointer):THANDLE; implementation -uses Common, global, dbsettings, base64, mirutils; +uses Common, global, dbsettings, mirutils; //----- tBaseAction code ----- const @@ -308,6 +308,7 @@ var dbv:TDBVARIANT; tmp:pWideChar; is_chat:boolean; + bufLen:int; begin with xmlparser do begin @@ -336,7 +337,8 @@ begin DBVT_UTF8 : WideToUTF8(tmp,dbv.szVal.A); DBVT_WCHAR : dbv.szVal.W:=tmp; DBVT_BLOB : begin - Base64Decode(FastWideToAnsi(tmp,pAnsiChar(dbv.pbVal)),dbv.pbVal); + dbv.pbVal := mir_base64_decode(FastWideToAnsi(tmp,pAnsiChar(dbv.pbVal)),bufLen); + dbv.cpbVal := bufLen; end; end; end; -- cgit v1.2.3