Dirk Hohndel d9fd4cb69b Fix crash with empty dive list
Don't access current_dc unless there is a valid current_dive.

Fixes #817

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-24 14:42:25 -08: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-18 21:25:59 +12:00
2015-01-18 21:25:59 +12:00
2014-06-01 15:42:32 -07:00