From 6509a2428c197c270556446c2985e178538b950b Mon Sep 17 00:00:00 2001 From: Oliver Duis Date: Sun, 27 Feb 2011 21:58:59 +0100 Subject: [PATCH] Part two of the special character fix, on behalf of MaWe --- rtgui/equalizer.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rtgui/equalizer.cc b/rtgui/equalizer.cc index dee93b340..d2cd60d9d 100644 --- a/rtgui/equalizer.cc +++ b/rtgui/equalizer.cc @@ -54,14 +54,14 @@ Equalizer::Equalizer () : Gtk::VBox(), FoldableToolPanel(this) { for(int i = 0; i < 8; i++) { - std::stringstream ss; - ss << i; + Glib::ustring ss; + ss = Glib::ustring::format(i); if(i == 0) - ss << " (" << M("TP_EQUALIZER_FINEST") << ")"; + ss += Glib::ustring::compose(" (%1)", M("TP_EQUALIZER_FINEST")); if(i == 7) - ss << " (" << M("TP_EQUALIZER_LARGEST") << ")"; + ss += Glib::ustring::compose(" (%1)", M("TP_EQUALIZER_LARGEST")); - correction[i] = new Adjuster (ss.str(), -100, 100, 1, 0); + correction[i] = new Adjuster (ss, -100, 100, 1, 0); correction[i]->setAdjusterListener(this); pack_start(*correction[i]); }