]> git.tdb.fi Git - ext/subsurface.git/blobdiff - statistics.c
Change default behavior for Stats to show selected dives
[ext/subsurface.git] / statistics.c
index 7ff2bfd016e6dcdf727dd7f9bb7a37629925bf40..0f6fbe0478c2056a27107ac4d7044613bc296a79 100644 (file)
@@ -274,10 +274,7 @@ static void show_total_dive_stats(struct dive *dive)
        const char *unit;
        stats_t *stats_ptr;
 
-       if (amount_selected < 2)
-               stats_ptr = &stats;
-       else
-               stats_ptr = &stats_selection;
+       stats_ptr = &stats_selection;
 
        set_label(stats_w.selection_size, "%d", stats_ptr->selection_size);
        if (stats_ptr->min_temp) {