summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 92eb9ee09..d259b3888 100644
--- a/main.c
+++ b/main.c
@@ -76,6 +76,8 @@ void report_dives(void)
/* Redo the new 'i'th dive */
i--;
}
+
+ dive_list_update_dives();
}
static void parse_argument(const char *arg)
@@ -150,7 +152,6 @@ int main(int argc, char **argv)
}
report_dives();
- dive_list_update_dives();
run_ui();
return 0;