LazUtils: fix DebuglnEnter with list of 1 argument

git-svn-id: trunk@43778 -
This commit is contained in:
martin 2014-01-21 16:11:49 +00:00
parent b15354e59a
commit db5590d263

View File

@ -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;