Statusbar: fix >24h disk-space label

This commit is contained in:
Robin Gareus
2020-03-29 23:54:34 +02:00
parent 7a98605748
commit 325477803e

View File

@@ -1353,7 +1353,6 @@ ARDOUR_UI::format_disk_space_label (float remain_sec)
if (remain_sec > 86400) {
disk_space_label.set_markup (_(">24h"));
disk_space_label.set_markup (label + buf);
} else if (remain_sec > 32400 /* 9 hours */) {
snprintf (buf, sizeof (buf), "%.0f", remain_sec / 3600.f);
disk_space_label.set_markup (label + buf + S_("hours|h"));