diff options
author | Robert C. Helling <helling@atdotde.de> | 2017-08-03 13:37:00 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-08-03 11:17:33 -0700 |
commit | c979d9f16664c7dfcf04d6513fbc6f05b7e1e858 (patch) | |
tree | cf84e30944b8846a6b13137cf8c4378a2f0a441a /core | |
parent | 4e2cada87865b92ac08dd36364563cefb41ccd81 (diff) | |
download | subsurface-c979d9f16664c7dfcf04d6513fbc6f05b7e1e858.tar.gz |
Always show the ascent to the initial deco stop
...even when not showing transitions, this makes the
first stop look more like a stop (since it does not include
several minutes of ascent).
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core')
-rw-r--r-- | core/plannernotes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/plannernotes.c b/core/plannernotes.c index ea4955925..be23a226d 100644 --- a/core/plannernotes.c +++ b/core/plannernotes.c @@ -222,7 +222,8 @@ void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool show_d (nextdp && dp->depth.mm != nextdp->depth.mm) || (!isascent && gaschange_before && nextdp && dp->depth.mm != nextdp->depth.mm) || (gaschange_after && lastentered) || (gaschange_after && !isascent) || - (isascent && gaschange_after && nextdp && dp->depth.mm != nextdp->depth.mm )) { + (isascent && gaschange_after && nextdp && dp->depth.mm != nextdp->depth.mm ) || + (lastentered && !dp->entered)) { // Print a symbol to indicate whether segment is an ascent, descent, constant depth (user entered) or deco stop if (isascent) segmentsymbol = "➚"; // up-right arrow for ascent |