Fix naming

This commit is contained in:
QC 2015-06-27 22:38:06 +02:00
parent 79441f62b9
commit 67089677b5
1 changed files with 2 additions and 2 deletions

View File

@ -189,8 +189,8 @@ static int fuzzy_token_match ( char **tokens, const char *input, int case_sensit
if ( tokens ) {
for ( int j = 0; match && tokens[j]; j++ ) {
char *t = compk;
int compk_len = strlen ( tokens[j] );
for ( int id = 0; match && t != NULL && id < compk_len; id++ ) {
int token_len = strlen ( tokens[j] );
for ( int id = 0; match && t != NULL && id < token_len; id++ ) {
match = ( ( t = strchr ( t, tokens[j][id] ) ) != NULL );
// next should match the next character.
if(t != NULL) {