From 5b3d60bf56e14442eede054473e8457d2d2fc606 Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Thu, 14 Sep 2017 10:42:01 +0200 Subject: [PATCH] lensfun: applied Floessie's workaround for locale conversion issues --- rtengine/rtlensfun.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtengine/rtlensfun.cc b/rtengine/rtlensfun.cc index 87a7272e9..b42be9424 100644 --- a/rtengine/rtlensfun.cc +++ b/rtengine/rtlensfun.cc @@ -175,7 +175,7 @@ float LFCamera::getCropFactor() const Glib::ustring LFCamera::getDisplayString() const { if (data_) { - return Glib::ustring::compose("%1 %2", getMake(), getModel()); + return getMake() + ' ' + getModel(); } else { return "---"; } @@ -211,7 +211,7 @@ Glib::ustring LFLens::getMake() const Glib::ustring LFLens::getLens() const { if (data_) { - return Glib::ustring::compose("%1 %2", data_->Maker, data_->Model); + return Glib::ustring(data_->Maker) + ' ' + data_->Model; } else { return "---"; }