diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-02-03 20:37:35 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-03 11:43:16 -0800 |
commit | f913ed5b9d34458c33de62dd4cab9bd6184ce9a3 (patch) | |
tree | 344695083fc866768e3358dd2089e9e0378eee46 /planner.c | |
parent | 4f9705f3f54fc14d6b38123160f07015c41f3519 (diff) | |
download | subsurface-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |