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>
This commit is contained in:
Robert C. Helling 2017-08-03 13:37:00 +02:00 committed by Dirk Hohndel
parent 4e2cada878
commit c979d9f166

View file

@ -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 = "&#10138;"; // up-right arrow for ascent