From 8ef40f0bd018c6f9295977c206714db8d1e6159c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 1 Mar 2013 23:11:39 +0000 Subject: code cleanup for pascal plugins git-svn-id: http://svn.miranda-ng.org/main/trunk@3828 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Utils.pas/mApiCardM.pas | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'plugins/Utils.pas/mApiCardM.pas') diff --git a/plugins/Utils.pas/mApiCardM.pas b/plugins/Utils.pas/mApiCardM.pas index ff289168f3..8a3011153d 100644 --- a/plugins/Utils.pas/mApiCardM.pas +++ b/plugins/Utils.pas/mApiCardM.pas @@ -8,8 +8,8 @@ uses windows,messages; type tmApiCard = class private - function GetDescription:pAnsiChar; - function GetResultType :pAnsiChar; + function GetDescription:pAnsiChar; + function GetResultType :pAnsiChar; procedure SetCurrentService(item:pAnsiChar); public constructor Create(fname:pAnsiChar; lparent:HWND=0); @@ -239,7 +239,7 @@ begin SetDlgItemTextA(Dialog,IDC_HLP_ALIAS, GetParamSectionStr(current,'alias','')); - + FastAnsiToWideBuf(GetParamSectionStr(current,'return','Undefined'),tmp); SetDlgItemTextW(Dialog,IDC_HLP_RETURN,TranslateW(tmp)); @@ -367,8 +367,6 @@ begin if fname<>nil then begin ConvertFileName(fname,@INIFile); - // CallService(MS_UTILS_PATHTOABSOLUTE, - // dword(PAnsiChar(ServiceHlpFile)),dword(INIFile)); if GetFSize(pAnsiChar(@INIFile))=0 then begin INIFile[0]:=#0; -- cgit v1.2.3