mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-26 14:01:46 +01:00
LazUtils: fix DebuglnEnter with list of 1 argument
git-svn-id: trunk@43778 -
This commit is contained in:
parent
b15354e59a
commit
db5590d263
@ -776,7 +776,7 @@ end;
|
|||||||
|
|
||||||
procedure TLazLogger.DebugLnEnter(Args: array of const);
|
procedure TLazLogger.DebugLnEnter(Args: array of const);
|
||||||
begin
|
begin
|
||||||
if high(Args) > low(Args) then
|
if high(Args) >= low(Args) then
|
||||||
DoDebugLn(ArgsToString(Args));
|
DoDebugLn(ArgsToString(Args));
|
||||||
IncreaseIndent;
|
IncreaseIndent;
|
||||||
end;
|
end;
|
||||||
@ -806,7 +806,7 @@ end;
|
|||||||
procedure TLazLogger.DebugLnExit(Args: array of const);
|
procedure TLazLogger.DebugLnExit(Args: array of const);
|
||||||
begin
|
begin
|
||||||
DecreaseIndent;
|
DecreaseIndent;
|
||||||
if high(Args) > low(Args) then
|
if high(Args) >= low(Args) then
|
||||||
DoDebugLn(ArgsToString(Args));
|
DoDebugLn(ArgsToString(Args));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user