Changeset 057419f in subsurface


Ignore:
Timestamp:
Feb 11, 2017, 8:31:42 AM (7 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
e31714d9
Parents:
fef0775
git-author:
Robert C. Helling <helling@…> (02/08/17 12:55:09)
git-committer:
Dirk Hohndel <dirk@…> (02/11/17 08:31:42)
Message:

Always show manually added gaschanges in notes

In the manually entered part, we dont wait until the next stop.

Signed-off-by: Robert C. Helling <helling@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/planner.c

    rcd38cda1 r057419f  
    735735                                 * an ascent segment if it is not followed by a stop
    736736                                 */
    737                                 if (isascent && gaschange_after && dp->next && nextdp && dp->depth != nextdp->depth) {
     737                                if ((isascent || dp->entered) && gaschange_after && dp->next && nextdp && (dp->depth != nextdp->depth || nextdp->entered)) {
    738738                                        if (dp->setpoint) {
    739739                                                snprintf(temp, sz_temp, translate("gettextFromC", "(SP = %.1fbar)"), (double) nextdp->setpoint / 1000.0);
Note: See TracChangeset for help on using the changeset viewer.