1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00

Fix indentation of logging code and around it

That wouldn't be as big issue if problem affected few files, but it everywhere in codebase.
Fixed it everywhere since in most files that is the only code with wrong indentation.
This commit is contained in:
Arseniy Shestakov
2016-03-12 04:41:27 +03:00
parent faae305ec0
commit 10dbbead2d
54 changed files with 580 additions and 577 deletions

@ -43,7 +43,7 @@ MacroString::MacroString(const std::string &format)
if (end_pos == std::string::npos)
{
logBonus->warnStream() << "Format error in: " << format;
logBonus->warnStream() << "Format error in: " << format;
end_pos = start_pos;
break;
}
@ -150,7 +150,7 @@ std::string CBonusTypeHandler::bonusToString(const Bonus *bonus, const IBonusBea
}
else
{
logBonus->warnStream() << "Unknown macro in bonus config: " << name;
logBonus->warnStream() << "Unknown macro in bonus config: " << name;
return "[error]";
}
};
@ -286,14 +286,14 @@ void CBonusTypeHandler::load(const JsonNode& config)
//
// bonusTypes.push_back(bt);
logBonus->warnStream() << "Adding new bonuses not implemented (" << node.first << ")";
logBonus->warnStream() << "Adding new bonuses not implemented (" << node.first << ")";
}
else
{
CBonusType& bt = bonusTypes[it->second];
loadItem(node.second, bt);
logBonus->traceStream() << "Loaded bonus type " << node.first;
logBonus->traceStream() << "Loaded bonus type " << node.first;
}
}
}