mirror of https://github.com/davatorium/rofi.git
Fix naming
This commit is contained in:
parent
79441f62b9
commit
67089677b5
|
@ -189,8 +189,8 @@ static int fuzzy_token_match ( char **tokens, const char *input, int case_sensit
|
||||||
if ( tokens ) {
|
if ( tokens ) {
|
||||||
for ( int j = 0; match && tokens[j]; j++ ) {
|
for ( int j = 0; match && tokens[j]; j++ ) {
|
||||||
char *t = compk;
|
char *t = compk;
|
||||||
int compk_len = strlen ( tokens[j] );
|
int token_len = strlen ( tokens[j] );
|
||||||
for ( int id = 0; match && t != NULL && id < compk_len; id++ ) {
|
for ( int id = 0; match && t != NULL && id < token_len; id++ ) {
|
||||||
match = ( ( t = strchr ( t, tokens[j][id] ) ) != NULL );
|
match = ( ( t = strchr ( t, tokens[j][id] ) ) != NULL );
|
||||||
// next should match the next character.
|
// next should match the next character.
|
||||||
if(t != NULL) {
|
if(t != NULL) {
|
||||||
|
|
Loading…
Reference in New Issue