summaryrefslogtreecommitdiffstats
path: root/core/plannernotes.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/plannernotes.c')
-rw-r--r--core/plannernotes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/plannernotes.c b/core/plannernotes.c
index 167ccaff7..d4b335888 100644
--- a/core/plannernotes.c
+++ b/core/plannernotes.c
@@ -27,7 +27,7 @@ int diveplan_duration(struct diveplan *diveplan)
duration = dp->time;
dp = dp->next;
}
- return duration / 60;
+ return (duration + 30) / 60;
}