FpDebug: fix commit 59943 #31fe8e6955 / open-array bounds

git-svn-id: trunk@59959 -
This commit is contained in:
martin 2018-12-31 14:26:38 +00:00
parent ff82fa5222
commit 52dda0c955

View File

@ -560,8 +560,8 @@ begin
if UpperBoundSym <> nil then begin
val := UpperBoundSym.Value;
TFpDwarfValue(val).Context := Context;
l := Val.AsInteger;
h := t2.OrdLowBound;
l := t2.OrdLowBound;
h := Val.AsInteger;
if h > l then begin
if h - l > 5000 then
h := l + 5000;