mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Improved some log output in ThemeData.
This commit is contained in:
parent
d2ec969d19
commit
7b19b2cc6b
|
@ -440,8 +440,8 @@ void ThemeData::parseElement(const pugi::xml_node& root,
|
|||
for (pugi::xml_node node = root.first_child(); node; node = node.next_sibling()) {
|
||||
auto typeIt = typeMap.find(node.name());
|
||||
if (typeIt == typeMap.cend())
|
||||
throw error << "Unknown property type \"" << node.name() <<
|
||||
"\" (for element of type " << root.name() << ").";
|
||||
throw error << ": Unknown property type \"" << node.name() <<
|
||||
"\" (for element of type " << root.name() << ")";
|
||||
|
||||
std::string str = resolvePlaceholders(node.text().as_string());
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ public:
|
|||
{
|
||||
*this << "From theme \"" << deque.front() << "\"";
|
||||
for (auto it = deque.cbegin() + 1; it != deque.cend(); it++)
|
||||
*this << " (from included file \"" << (*it) << "\")\n";
|
||||
*this << " -> \"" << (*it) << "\"";
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue