1
0
Fork 0
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:
Tom Hinton 2015-10-01 18:18:01 +01:00
parent d1a5b0d362
commit 3ba2da9cae

View file

@ -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 ) {