mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Indent
This commit is contained in:
parent
541c653913
commit
04eebf964a
1 changed files with 8 additions and 8 deletions
|
@ -317,21 +317,21 @@ static int drun_token_match ( const Mode *data,
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
DRunModePrivateData *rmpd = (DRunModePrivateData *) data->private_data;
|
DRunModePrivateData *rmpd = (DRunModePrivateData *) data->private_data;
|
||||||
int match = 1;
|
int match = 1;
|
||||||
if(tokens ) {
|
if ( tokens ) {
|
||||||
for ( int j = 0; match && tokens != NULL && tokens[j] != NULL; j++ ) {
|
for ( int j = 0; match && tokens != NULL && tokens[j] != NULL; j++ ) {
|
||||||
int test = 0;
|
int test = 0;
|
||||||
char *ftokens[2] = { tokens[j], NULL };
|
char *ftokens[2] = { tokens[j], NULL };
|
||||||
if ( !test && rmpd->entry_list[index].name &&
|
if ( !test && rmpd->entry_list[index].name &&
|
||||||
token_match ( ftokens, rmpd->entry_list[index].name, not_ascii, case_sensitive ) ) {
|
token_match ( ftokens, rmpd->entry_list[index].name, not_ascii, case_sensitive ) ) {
|
||||||
test =1;
|
test = 1;
|
||||||
}
|
}
|
||||||
if ( !test && rmpd->entry_list[index].generic_name &&
|
if ( !test && rmpd->entry_list[index].generic_name &&
|
||||||
token_match ( ftokens, rmpd->entry_list[index].generic_name, not_ascii, case_sensitive ) ) {
|
token_match ( ftokens, rmpd->entry_list[index].generic_name, not_ascii, case_sensitive ) ) {
|
||||||
test =1;
|
test = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !test && token_match( ftokens, rmpd->entry_list[index].exec, not_ascii, case_sensitive)){
|
if ( !test && token_match ( ftokens, rmpd->entry_list[index].exec, not_ascii, case_sensitive ) ) {
|
||||||
test = 1;
|
test = 1;
|
||||||
}
|
}
|
||||||
if ( test == 0 ) {
|
if ( test == 0 ) {
|
||||||
|
|
Loading…
Reference in a new issue