Willem Ferguson 9c24d6bef8 Fix bug for CCR dive bailout
Under some conditions get_current_divemode() (in dive.c) returns an
erroneous divemode. This happens when there are several events at
the very beginning of the dive, as can happen in some CCR dive logs.
This commit fixes that bug.

Signed-off-by: Willem Ferguson <willemferguson@zoology.up.ac.za>
2018-05-14 23:47:00 +03:00
..
2018-05-07 13:56:23 +02:00
2018-04-28 20:11:22 +03:00
2017-11-25 20:13:01 +01:00
2018-05-14 23:47:00 +03:00
2018-01-31 14:47:26 +01:00
2017-04-29 13:32:55 -07:00
2018-01-08 09:52:55 +02:00
2017-05-26 15:52:04 -07:00
2018-04-13 17:07:43 -07:00
2017-05-26 15:44:36 -07:00
2018-04-28 20:11:22 +03:00
2018-04-28 20:11:22 +03:00
2017-11-19 12:20:43 -08:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2017-10-04 08:05:09 -07:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00