CmdReportDay: Migrated to Range::open for readability

This commit is contained in:
Paul Beckingham 2016-05-10 20:48:23 -04:00
parent e9eb896577
commit dc73007fd1

View file

@ -197,7 +197,7 @@ static void renderInterval (
return;
Interval clipped = clip (track, day_range);
if (! track.range.ended ())
if (track.range.open ())
clipped.range.end = Datetime ();
auto start_mins = clipped.range.start.hour () * 60 + clipped.range.start.minute ();
@ -250,7 +250,7 @@ static void renderInterval (
// An open interval gets a "..." in the bottom right corner, or
// whatever fits.
if (! track.range.ended ())
if (track.range.open ())
line2.add ("+", start_offset + width - 1, colorTrack);
}
}