Fixes crash involving locale conversion of lensfun strings, by Floessie, fixes #4117
This commit is contained in:
@@ -601,7 +601,7 @@ void LensProfilePanel::LFDbHelper::fillLensfunCameras()
|
|||||||
camnames[c.getMake()].insert(c.getModel());
|
camnames[c.getMake()].insert(c.getModel());
|
||||||
|
|
||||||
if (options.rtSettings.verbose) {
|
if (options.rtSettings.verbose) {
|
||||||
std::cout << " found: " << c.getDisplayString() << std::endl;
|
std::cout << " found: " << c.getDisplayString().c_str() << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (auto &p : camnames) {
|
for (auto &p : camnames) {
|
||||||
@@ -630,7 +630,7 @@ void LensProfilePanel::LFDbHelper::fillLensfunLenses()
|
|||||||
lenses[make].insert(name);
|
lenses[make].insert(name);
|
||||||
|
|
||||||
if (options.rtSettings.verbose) {
|
if (options.rtSettings.verbose) {
|
||||||
std::cout << " found: " << l.getDisplayString() << std::endl;
|
std::cout << " found: " << l.getDisplayString().c_str() << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (auto &p : lenses) {
|
for (auto &p : lenses) {
|
||||||
|
Reference in New Issue
Block a user