convert module names to lower case

metadata
Wenzel Jakob 2010-09-05 15:36:23 +02:00
parent 952a2daee3
commit 3d3048f7de
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ void SceneHandler::startElement(const XMLCh* const xmlName,
void SceneHandler::endElement(const XMLCh* const xmlName) {
std::string name = transcode(xmlName);
ParseContext &context = m_context.top();
std::string type = context.attributes["type"];
std::string type = toLowerCase(context.attributes["type"]);
context.properties.setPluginName(type);
if (context.attributes.find("id") != context.attributes.end())
context.properties.setID(context.attributes["id"]);