Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.
Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
This commit is contained in:
@@ -6,10 +6,10 @@ BadWordCheck::BadWordCheck()
|
||||
{
|
||||
}
|
||||
|
||||
bool BadWordCheck::run(QString msg)
|
||||
bool BadWordCheck::run(QString msg)
|
||||
{
|
||||
msg = msg.toLower();
|
||||
|
||||
|
||||
QStringListIterator it(badWords);
|
||||
while (it.hasNext()) {
|
||||
if(msg.contains(it.next()))
|
||||
|
||||
Reference in New Issue
Block a user