Removed unnecessary \n.

This commit is contained in:
hiker 2014-01-31 15:45:53 +11:00
parent ade89ba89a
commit 31063f6ae5

View File

@ -85,7 +85,7 @@ void QuadSet::init(const std::string &filename)
XMLNode *xml = file_manager->createXMLTree(filename); XMLNode *xml = file_manager->createXMLTree(filename);
if(!xml || xml->getName()!="quads") if(!xml || xml->getName()!="quads")
{ {
Log::error("[QuadSet::load] ERROR : QuadSet '%s' not found.\n", filename.c_str()); Log::error("[QuadSet::load] ERROR : QuadSet '%s' not found.", filename.c_str());
delete xml; delete xml;
return; return;
} }
@ -94,7 +94,7 @@ void QuadSet::init(const std::string &filename)
const XMLNode *xml_node = xml->getNode(i); const XMLNode *xml_node = xml->getNode(i);
if(xml_node->getName()!="quad") if(xml_node->getName()!="quad")
{ {
Log::warn("[QuadSet::load] WARNING: Unsupported node type '%s' found in '%s' - ignored.\n", Log::warn("[QuadSet::load] WARNING: Unsupported node type '%s' found in '%s' - ignored.",
xml_node->getName().c_str(), filename.c_str()); xml_node->getName().c_str(), filename.c_str());
continue; continue;
} }