Dirk Hohndel e04acd4189 Simplistic solution to add dive number to dive added
If this is the last dive and if the previous dive had a number, give this
dive the next number.

Of course there are a couple of issues with the current implementation. We
have no way of changing the date / time of the added dive, so we KNOW that
it will be the last one. But I put that check there so that once we add
the ability to change the date / time (and hopefully remember to then move
the dive to the correct spot in the dive_table), we only assign a number
if it is the last dive.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-09-20 07:17:35 -05:00
..
2013-09-02 05:57:08 -03:00
2013-07-19 10:24:59 -07:00
2013-06-24 07:44:28 -07:00
2013-07-11 09:22:20 -03:00
2013-08-13 20:29:22 +02:00
2013-09-19 23:05:17 -05:00
2013-09-19 23:05:17 -05:00
2013-06-19 10:20:56 -07:00
2013-05-17 22:27:50 -07:00
2013-09-19 22:54:00 -05:00
2013-09-19 22:54:00 -05:00
2013-09-10 14:55:30 -07:00
2013-06-17 13:54:50 -03:00
2013-06-19 10:20:56 -07:00
2013-09-03 13:57:38 -03:00
2013-09-03 13:57:38 -03:00
2013-09-03 13:57:38 -03:00