mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-25 18:01:37 +02: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);
|
||||
begin
|
||||
if high(Args) > low(Args) then
|
||||
if high(Args) >= low(Args) then
|
||||
DoDebugLn(ArgsToString(Args));
|
||||
IncreaseIndent;
|
||||
end;
|
||||
@ -806,7 +806,7 @@ end;
|
||||
procedure TLazLogger.DebugLnExit(Args: array of const);
|
||||
begin
|
||||
DecreaseIndent;
|
||||
if high(Args) > low(Args) then
|
||||
if high(Args) >= low(Args) then
|
||||
DoDebugLn(ArgsToString(Args));
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user