uniformize files

This commit is contained in:
Daniel Marjamäki 2008-12-25 18:24:57 +00:00
parent 5cfa05e180
commit 8c08c4d66b
1 changed files with 7 additions and 7 deletions

View File

@ -140,8 +140,8 @@ bool TOKEN::simpleMatch(const TOKEN *tok, const char pattern[])
const char *current, *next;
current = pattern;
next = strchr(pattern, ' ');
if ( !next )
next = strchr(pattern, ' ');
if ( !next )
next = pattern + strlen(pattern);
while ( *current )
@ -152,11 +152,11 @@ bool TOKEN::simpleMatch(const TOKEN *tok, const char pattern[])
return false;
current = next;
if ( *next )
{
next = strchr(++current, ' ');
if ( !next )
next = current + strlen(current);
if ( *next )
{
next = strchr(++current, ' ');
if ( !next )
next = current + strlen(current);
}
tok = tok->next();
}