]> git.street.me.uk Git - andy/viking.git/commit
Fix a bug that caused crashes when displaying elev graph for some track.
authorQuy Tonthat <qtonthat@gmail.com>
Wed, 24 Oct 2007 07:46:50 +0000 (07:46 +0000)
committerQuy Tonthat <qtonthat@gmail.com>
Wed, 24 Oct 2007 07:46:50 +0000 (07:46 +0000)
commit6374e157c07cc11ea6258aec7502c675f76bbecb
tree13bb5455b9e03233281c0fec0f53abf72de58f70
parent7567b54c934395215d159a760d7cc1b68dabfdd9
Fix a bug that caused crashes when displaying elev graph for some track.

Crashes on tracks which have total length of 0. For examples, tracks which
consist only 2 trackpoints of the same location. The problem is now fixed.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
src/viktrack.c