Fix mistakes from copy paste

This commit is contained in:
Tom Hinton 2015-10-01 18:18:01 +01:00
parent d1a5b0d362
commit 3ba2da9cae
1 changed files with 3 additions and 3 deletions

View File

@ -343,15 +343,15 @@ static int window_match ( char **tokens, __attribute__( ( unused ) ) const char
}
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' ) {
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' ) {
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 ) {