mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
4f9705f3f5
commit
f913ed5b9d
1 changed files with 2 additions and 2 deletions
|
|
@ -613,9 +613,9 @@ static void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool
|
||||||
gasname(&gasmix));
|
gasname(&gasmix));
|
||||||
|
|
||||||
len += snprintf(buffer + len, sizeof(buffer) - len, "%s<br>", temp);
|
len += snprintf(buffer + len, sizeof(buffer) - len, "%s<br>", temp);
|
||||||
newdepth = dp->depth;
|
|
||||||
lasttime = dp->time;
|
|
||||||
}
|
}
|
||||||
|
newdepth = dp->depth;
|
||||||
|
lasttime = dp->time;
|
||||||
} else {
|
} else {
|
||||||
if (dp->depth != nextdp->depth || gasmix_distance(&gasmix, &newgasmix) != 0 || dp->setpoint != nextdp->setpoint) {
|
if (dp->depth != nextdp->depth || gasmix_distance(&gasmix, &newgasmix) != 0 || dp->setpoint != nextdp->setpoint) {
|
||||||
if (dp->setpoint)
|
if (dp->setpoint)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue