summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_timespan_selector.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2016-09-21 14:42:13 +1000
committerTim Mayberry <mojofunk@gmail.com>2017-04-19 09:37:01 +1000
commit31a2957700be383dd99bb82143bce6505bd4eccc (patch)
treed17e59acbcb233207eddfc234eed0dde37eb6b98 /gtk2_ardour/export_timespan_selector.cc
parentc149d7d64c19f223565c9c0e941ff15a4ff030e7 (diff)
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.
Diffstat (limited to 'gtk2_ardour/export_timespan_selector.cc')
-rw-r--r--gtk2_ardour/export_timespan_selector.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/export_timespan_selector.cc b/gtk2_ardour/export_timespan_selector.cc
index c87d4ef9e4..0d815f42ee 100644
--- a/gtk2_ardour/export_timespan_selector.cc
+++ b/gtk2_ardour/export_timespan_selector.cc
@@ -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;
}