Fix issue with inconsistent formatting of "GPS off" buses.
authorChris Jaekl <chris@ringo.jaekl.net>
Mon, 24 Aug 2015 12:53:18 +0000 (21:53 +0900)
committerChris Jaekl <chris@ringo.jaekl.net>
Mon, 24 Aug 2015 12:53:18 +0000 (21:53 +0900)
OC Transpo usually reports a bus with no GPS data as having a
"GPS last read" time of (-1) minutes ago.  But sometimes it reports
it as (-2), for reasons that aren't clear (at least, not to me).
The code was applying an "== (-1)" test in one spot, but a "< 0"
test in another; inconsistency is not good, nor is repeating a
conditional test unnecessarily.


No differences found