The numeric formatting is equivalent. The string is being used in a label so it
could be argued that we want localized numeric formatting in this case, but as
it is only relevant if we have >=1000 meter strip keep it the same for now.
number_label.set_text("-");
number_label.hide();
} else {
- number_label.set_text (PBD::to_string (track_number, std::dec));
+ number_label.set_text (PBD::to_string (track_number));
number_label.show();
}
const int tnh = 4 + std::max(2u, _session->track_number_decimals()) * 8; // TODO 8 = max_width_of_digit_0_to_9()