mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-08 09:59:06 +02:00
TAChart: Fix interval merging
git-svn-id: trunk@26676 -
This commit is contained in:
parent
ac4ce25717
commit
1e37069221
@ -698,7 +698,7 @@ begin
|
||||
if i <= High(FIntervals) then
|
||||
AStart := Min(AStart, FIntervals[i].FStart);
|
||||
j := High(FIntervals);
|
||||
while (j >= 0) and (FIntervals[j].FStart > FIntervals[j].FEnd) do
|
||||
while (j >= 0) and (FIntervals[j].FStart > AEnd) do
|
||||
Dec(j);
|
||||
if j >= 0 then
|
||||
AEnd := Max(AEnd, FIntervals[j].FEnd);
|
||||
|
Loading…
Reference in New Issue
Block a user