summaryrefslogtreecommitdiffstats
path: root/planner.c
diff options
context:
space:
mode:
Diffstat (limited to 'planner.c')
-rw-r--r--planner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/planner.c b/planner.c
index c1b0fb4a3..dc5e53406 100644
--- a/planner.c
+++ b/planner.c
@@ -504,9 +504,9 @@ void plan(struct diveplan *diveplan, char **cached_datap, struct dive **divep)
record_dive(dive);
stopidx--;
}
- /* now make the dive visible as last dive of the dive list */
+ /* now make the dive visible in the dive list */
report_dives(FALSE, FALSE);
- select_last_dive();
+ show_and_select_dive(dive);
free(stoplevels);
free(gaschanges);
}