#include "i18n.h"
using std::string;
-using boost::shared_ptr;
+using std::shared_ptr;
static bool
about_equal (double a, double b)
if (change_speed) {
double const pc = dcp * 100 / (source * factor());
- description += String::compose (_("DCP will run at %1%% of the content speed.\n"), pc);
+ char buffer[256];
+ snprintf (buffer, sizeof(buffer), _("DCP will run at %.1f%% of the content speed.\n"), pc);
+ description += buffer;
}
}