Debugger: GDBMI, fix range check

git-svn-id: trunk@44543 -
This commit is contained in:
martin 2014-03-29 00:13:42 +00:00
parent 406a3736b2
commit 825ebd7c8b

View File

@ -11565,7 +11565,7 @@ var
then Delete(Indent, 1, Length(INDENTSTRING));
end;
' ': begin
if ((i > 0) and (AInput[i-1] = ',')) and
if ((i > 1) and (AInput[i-1] = ',')) and
( (not IsArray) or
((Indent = '') and (InRounds <= 1)) or
((Indent = INDENTSTRING) and (InRounds = 0))