From 86fba4f5e8968f1c2158fe07d34a7867bf9c082a 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 --- planner.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/planner.c b/planner.c index a7844ab..d12f660 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) -- 1.9.3 (Apple Git-50)