summaryrefslogtreecommitdiffstats
path: root/planner.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-02-03 20:37:35 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-03 11:43:16 -0800
commitf913ed5b9d34458c33de62dd4cab9bd6184ce9a3 (patch)
tree344695083fc866768e3358dd2089e9e0378eee46 /planner.c
parent4f9705f3f54fc14d6b38123160f07015c41f3519 (diff)
downloadsubsurface-f913ed5b9d34458c33de62dd4cab9bd6184ce9a3.tar.gz
Show stops in verbatim diveplan
The position of one curly brace was wrong. Bummer. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'planner.c')
-rw-r--r--planner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/planner.c b/planner.c
index a7844abff..d12f660f5 100644
--- a/planner.c
+++ b/planner.c
@@ -613,9 +613,9 @@ static void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool
gasname(&gasmix));
len += snprintf(buffer + len, sizeof(buffer) - len, "%s<br>", temp);
- newdepth = dp->depth;
- lasttime = dp->time;
}
+ newdepth = dp->depth;
+ lasttime = dp->time;
} else {
if (dp->depth != nextdp->depth || gasmix_distance(&gasmix, &newgasmix) != 0 || dp->setpoint != nextdp->setpoint) {
if (dp->setpoint)