subsurface/subsurface-core
Dirk Hohndel 38c60e02c7 Fix crash with empty (or very short) dive list
In commit 37c10c8fd6 ("Add dive type to statistics window") not enough
space is reserved for the newly introduced array if the dive list as fewer
than 4 entries.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-01-18 11:45:25 -08:00
..
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2015-11-15 12:10:37 -08:00
2015-11-02 19:54:34 -08:00
2015-11-15 12:10:37 -08:00
2016-01-11 06:14:45 -08:00
2016-01-01 00:55:34 -08:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2015-11-15 12:10:37 -08:00
2015-11-02 19:54:34 -08:00
2015-11-09 18:00:56 -08:00
2015-11-06 09:59:00 -08:00
2015-11-14 10:43:37 -08:00
2016-01-10 14:12:23 -08:00
2016-01-10 14:12:23 -08:00
2015-12-27 21:31:13 -08:00
2015-11-03 07:19:05 -08:00