summaryrefslogtreecommitdiff
path: root/plugins/Utils.pas/mApiCardM.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-01 23:11:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-01 23:11:39 +0000
commit8ef40f0bd018c6f9295977c206714db8d1e6159c (patch)
tree2acbdcb3743bb4d1b6bbfc49953cc164b11a6089 /plugins/Utils.pas/mApiCardM.pas
parent427891e0d28becb428ae8435954399f2e4daa9fe (diff)
code cleanup for pascal plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@3828 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Utils.pas/mApiCardM.pas')
-rw-r--r--plugins/Utils.pas/mApiCardM.pas8
1 files changed, 3 insertions, 5 deletions
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;