summaryrefslogtreecommitdiffstats
path: root/info.c
diff options
context:
space:
mode:
Diffstat (limited to 'info.c')
-rw-r--r--info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/info.c b/info.c
index d64b4775c..47cca5621 100644
--- a/info.c
+++ b/info.c
@@ -1151,7 +1151,7 @@ static timestamp_t dive_time_widget(struct dive *dive)
*/
if (amount_selected == 1) {
timestamp_t when = current_dive->when;
- when += get_duration_in_sec(current_dive);
+ when += current_dive->duration.seconds;
when += 60*60;
utc_mkdate(when, &tm);
time = &tm;