1
0

BasicStyle: Added missing braces to control statements.

This commit is contained in:
Mattes D
2014-12-05 16:59:11 +01:00
parent 21d5374b97
commit e2a04f580a
17 changed files with 241 additions and 54 deletions

View File

@@ -199,9 +199,13 @@ void cClientHandle::GenerateOfflineUUID(void)
AString cClientHandle::FormatChatPrefix(bool ShouldAppendChatPrefixes, AString a_ChatPrefixS, AString m_Color1, AString m_Color2)
{
if (ShouldAppendChatPrefixes)
{
return Printf("%s[%s] %s", m_Color1.c_str(), a_ChatPrefixS.c_str(), m_Color2.c_str());
}
else
{
return Printf("%s", m_Color1.c_str());
}
}