diff options
author | Robert C. Helling <helling@atdotde.de> | 2013-07-05 23:42:35 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-08-05 16:59:29 +0200 |
commit | 7293885178de700558f7954725ef9d8965cdb17a (patch) | |
tree | be2f33b3e0ebdb4fd37536183c9b869ebbf7d81b /Documentation/Makefile | |
parent | aa5365eb3fc49e6b7ffa2897b7bbd801b173b26b (diff) | |
download | subsurface-7293885178de700558f7954725ef9d8965cdb17a.tar.gz |
Delte the temporary dive from the divelist after calculating deco.
This bug manifested itself as too long deco obligation when moving
waypoints to later and then back to earlier times as all intermedite
versions were created as dives in the divelist (and the saturation of
these "previous dives" was taken into account.
It is not entirely clear to me how the dive will be permanently added to
the divelist once ok is pressed: One could in createDecoStops allocate
struct dive from the heap rather than from the stack and return a pointer
to it and which is then added to the dive list upon pressing ok.
[Dirk Hohndel: add include file to make this compile]
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Documentation/Makefile')
0 files changed, 0 insertions, 0 deletions