Use PBD::to_string from pbd/string_convert.h in ExportTimespanSelector
The C++ global locale is currently set to LC_NUMERIC=C by the first instance of LocaleGuard so this change means numeric formatting is equivalent. As the string is being used to construct a label, perhaps we do want to generate localized numeric formatting in this case. Anyway keep it the same for now.
This commit is contained in:
parent
c149d7d64c
commit
31a2957700
|
@ -27,7 +27,7 @@
|
|||
#include "ardour/export_timespan.h"
|
||||
|
||||
#include "pbd/enumwriter.h"
|
||||
#include "pbd/convert.h"
|
||||
#include "pbd/string_convert.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
@ -241,8 +241,8 @@ ExportTimespanSelector::construct_label (ARDOUR::Location const * location) cons
|
|||
break;
|
||||
|
||||
case AudioClock::Frames:
|
||||
start = to_string (start_frame, std::dec);
|
||||
end = to_string (end_frame, std::dec);
|
||||
start = to_string (start_frame);
|
||||
end = to_string (end_frame);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user