Dirk Hohndel c3614424f9 Correcly look at all relevant dive computer structures
When calculating maxima for a dive, we need to take data from all existing
dive computer structures plus potentially also a fake dive computer
structure that is just passed in in order to create a meaningful profile.

Commit 86c961614bfa ("Actually walk all dive computers, don't just claim
to do so") missed that second case and no longer took the fake_dc into
account, breaking the display of dives that don't have samples.

Reported-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-24 07:07:02 +12:00
..
2015-01-18 21:25:59 +12:00
2014-11-14 13:45:54 -08:00
2015-01-18 21:25:59 +12:00
2015-01-18 21:25:59 +12:00
2015-01-18 21:25:59 +12:00
2015-01-14 12:24:57 +13:00
2015-01-18 21:25:59 +12:00
2015-01-18 21:25:59 +12:00
2015-01-18 21:25:59 +12:00
2014-06-01 15:42:32 -07:00