astyle formatting

This commit is contained in:
Daniel Marjamäki 2011-10-29 12:53:08 +02:00
parent f04210ad9f
commit a79b5a5c36
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ void CheckInternal::checkMissingPercentCharacter()
const string broken_magic = (*magic).substr(0, (*magic).size()-1);
string::size_type pos = 0;
while((pos = pattern.find(broken_magic, pos)) != string::npos) {
while ((pos = pattern.find(broken_magic, pos)) != string::npos) {
// Check if it's the full pattern
if (pattern.find(*magic, pos) != pos) {
// Known whitelist of substrings