You've already forked lazarus-ccr
TvPlanIt: More robust comparison of TTime variables.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8173 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1930,7 +1930,7 @@ begin
|
||||
ThisTime := 0.0;
|
||||
while (J < EventList.Count) and (J < MaxVisibleEvents) do begin
|
||||
event := EventList[J];
|
||||
if frac(event.StartTime) >= thisTime then begin
|
||||
if SameTime(frac(event.StartTime), thisTime) or (frac(event.StartTime) > thisTime) then begin
|
||||
thisTime := frac(event.EndTime);
|
||||
{ Handle end times of midnight }
|
||||
if thisTime = 0 then
|
||||
|
Reference in New Issue
Block a user