Skip to content

Commit dacd54f

Browse files
committed
Common: GetParam() fix
1 parent 5a6e236 commit dacd54f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Base/Apus.Common.pas

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6325,8 +6325,7 @@ function GetParam(name:string):string;
63256325
st:=ParamStr(i);
63266326
p:=pos('=',st);
63276327
if p=0 then continue;
6328-
if SameText(name,copy(st,1,p-1)) then continue;
6329-
exit(copy(st,p+1,length(st)));
6328+
if SameText(name,copy(st,1,p-1)) then exit(copy(st,p+1,length(st)));
63306329
end;
63316330
end;
63326331

0 commit comments

Comments
 (0)