lensfun: applied Floessie's workaround for locale conversion issues

This commit is contained in:
Alberto Griggio
2017-09-14 10:42:01 +02:00
parent 7d8de8b020
commit 5b3d60bf56

View File

@@ -175,7 +175,7 @@ float LFCamera::getCropFactor() const
Glib::ustring LFCamera::getDisplayString() const Glib::ustring LFCamera::getDisplayString() const
{ {
if (data_) { if (data_) {
return Glib::ustring::compose("%1 %2", getMake(), getModel()); return getMake() + ' ' + getModel();
} else { } else {
return "---"; return "---";
} }
@@ -211,7 +211,7 @@ Glib::ustring LFLens::getMake() const
Glib::ustring LFLens::getLens() const Glib::ustring LFLens::getLens() const
{ {
if (data_) { if (data_) {
return Glib::ustring::compose("%1 %2", data_->Maker, data_->Model); return Glib::ustring(data_->Maker) + ' ' + data_->Model;
} else { } else {
return "---"; return "---";
} }