mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Resolution-dependence in XML files.
G1X scaler GUI now loads. Added layout for the launcher menu. MILESTONE: All core GUI dialogs/widgets working on G2x/G3x MILESTONE: Completely removed old Evaluator/Parser. Improved layout expanding again. Improved XML parser. Several bugfixes. svn-id: r33704
This commit is contained in:
@@ -110,9 +110,10 @@ bool XMLParser::parseActiveKey(bool closed) {
|
||||
return parserError("Missing required property '%s' inside key '%s'", i->name.c_str(), key->name.c_str());
|
||||
}
|
||||
|
||||
if (key->layout->anyProps == false && localMap.empty() == false)
|
||||
if (localMap.empty() == false)
|
||||
return parserError("Unhandled property inside key '%s': '%s'", key->name.c_str(), localMap.begin()->_key.c_str());
|
||||
} else if (layout->anyKeys == false) {
|
||||
|
||||
} else {
|
||||
return parserError("Unexpected key in the active scope: '%s'.", key->name.c_str());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user