diff options
Diffstat (limited to 'core/profile.c')
-rw-r--r-- | core/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/profile.c b/core/profile.c index 0d568a4fe..9cc072973 100644 --- a/core/profile.c +++ b/core/profile.c @@ -453,7 +453,7 @@ struct plot_info calculate_max_limits_new(struct dive *dive, struct divecomputer if (depth > maxdepth) maxdepth = s->depth.mm; - if ((depth > SURFACE_THRESHOLD || lastdepth > SURFACE_THRESHOLD) && + if ((depth > SURFACE_THRESHOLD || lastdepth > SURFACE_THRESHOLD || in_planner()) && s->time.seconds > maxtime) maxtime = s->time.seconds; lastdepth = depth; |