summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/main.c b/main.c
index 1ddcb3b64..fd5c78e82 100644
--- a/main.c
+++ b/main.c
@@ -247,10 +247,8 @@ void update_dive(struct dive *new_dive)
flush_divelist(old_dive);
}
show_dive_info(new_dive);
- if (new_dive) {
- show_dive_equipment(new_dive, W_IDX_PRIMARY);
- show_dive_stats(new_dive);
- }
+ show_dive_equipment(new_dive, W_IDX_PRIMARY);
+ show_dive_stats(new_dive);
buffered_dive = new_dive;
}