summaryrefslogtreecommitdiff
path: root/lib/xml_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xml_base.cpp')
-rw-r--r--lib/xml_base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xml_base.cpp b/lib/xml_base.cpp
index 814b9bdb..e26f73c2 100644
--- a/lib/xml_base.cpp
+++ b/lib/xml_base.cpp
@@ -71,7 +71,7 @@ const std::wstring xmlAccess::getErrorMessageFormatted(const XmlIn& in)
{
msg = _("Cannot read the following XML elements:") + L"\n";
std::for_each(failedElements.begin(), failedElements.end(),
- [&](const std::wstring& str) { msg += str + L'\n'; });
+ [&](const std::wstring& elem) { msg += L"\n" + elem; });
}
return msg;
bgstack15