xml2: changed the format of the cppcheck-version info

This commit is contained in:
Daniel Marjamäki 2010-12-22 18:45:09 +01:00
parent fc7e2d1ac1
commit 22a1f3332f
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ std::string ErrorLogger::ErrorMessage::getXMLHeader(int xml_version)
else
{
ostr << "<results version=\"" << xml_version << "\">\n";
ostr << " <cppcheck-version>" << CppCheck::version() << "</cppcheck-version>";
ostr << " <cppcheck version=\"" << CppCheck::version() << "\"/>";
}
return ostr.str();