From f913ed5b9d34458c33de62dd4cab9bd6184ce9a3 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Tue, 3 Feb 2015 20:37:35 +0100 Subject: [PATCH] Show stops in verbatim diveplan The position of one curly brace was wrong. Bummer. Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- planner.c | 4 ++-- 1 file 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
", 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)