astyle fix

This commit is contained in:
Reijo Tomperi 2009-04-23 23:53:01 +03:00
parent 8e15a9e79d
commit 347b8a2de8
1 changed files with 2 additions and 2 deletions

View File

@ -132,9 +132,9 @@ std::string ErrorLogger::ErrorMessage::toXML() const
while ((pos = m.find_first_of("<>", pos)) != std::string::npos)
{
if (m[pos] == '<')
m.insert(pos+1, "&lt;");
m.insert(pos + 1, "&lt;");
if (m[pos] == '>')
m.insert(pos+1, "&gt;");
m.insert(pos + 1, "&gt;");
m.erase(pos, 1);
}