mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Fix mistakes from copy paste
This commit is contained in:
parent
d1a5b0d362
commit
3ba2da9cae
1 changed files with 3 additions and 3 deletions
|
@ -343,15 +343,15 @@ static int window_match ( char **tokens, __attribute__( ( unused ) ) const char
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !test && c->class[0] != '\0' ) {
|
if ( !test && c->class[0] != '\0' ) {
|
||||||
test = token_match ( ftokens, c->class, is_not_ascii(c->title), case_sensitive, 0, NULL );
|
test = token_match ( ftokens, c->class, is_not_ascii(c->class), case_sensitive, 0, NULL );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !test && c->role[0] != '\0' ) {
|
if ( !test && c->role[0] != '\0' ) {
|
||||||
test = token_match ( ftokens, c->role, is_not_ascii(c->title), case_sensitive, 0, NULL );
|
test = token_match ( ftokens, c->role, is_not_ascii(c->role), case_sensitive, 0, NULL );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !test && c->name[0] != '\0' ) {
|
if ( !test && c->name[0] != '\0' ) {
|
||||||
test = token_match ( ftokens, c->name, is_not_ascii(c->title), case_sensitive, 0, NULL );
|
test = token_match ( ftokens, c->name, is_not_ascii(c->name), case_sensitive, 0, NULL );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( test == 0 ) {
|
if ( test == 0 ) {
|
||||||
|
|
Loading…
Reference in a new issue