]> git.street.me.uk Git - andy/viking.git/commit - src/viktrwlayer.c
Refix Merging tracks by time.
authorRob Norris <rw_norris@hotmail.com>
Wed, 26 Mar 2014 19:59:44 +0000 (19:59 +0000)
committerRob Norris <rw_norris@hotmail.com>
Wed, 26 Mar 2014 21:08:50 +0000 (21:08 +0000)
commit6252ee1d584d1195ab58c190cf2ab078fe904035
tree1ae93b6e1a5a0cf0c3a40840a5872c61fe66e777
parent9dcc92cc353c190e0031143b59695582ef329ab4
Refix Merging tracks by time.

Accidentally broke it when trying to implement internal track ids.
(SHA: fc92c97715697980e8fde44b9dc8c02e29b1f7a0)

Somehow it previously did something, but it clearly wasn't actually
using *both* track times in deciding what to merge - d'oh!

It would also crash if one of the tracks has no trackpoints.
I think this flaw was in the original version.
This is now fixed as well.
src/viktrwlayer.c