diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-03-17 13:33:47 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-03-17 13:33:47 +0100 |
commit | dfeb5940d4c447bb5c71104726ab416a04e6bfb4 (patch) | |
tree | 93fd22032780e42f81b302c0b536376e630cfda7 /source/dialogs | |
parent | 000c1139254857fb944e3ad6c6bd06dc4b07f034 (diff) |
Reduce scope and unneeded check.
Diffstat (limited to 'source/dialogs')
-rw-r--r-- | source/dialogs/drun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dialogs/drun.c b/source/dialogs/drun.c index 2acc2593..ed7e5b51 100644 --- a/source/dialogs/drun.c +++ b/source/dialogs/drun.c @@ -514,7 +514,7 @@ static int drun_token_match ( const Mode *data, GRegex **tokens, unsigned int in int test = 0; GRegex *ftokens[2] = { tokens[j], NULL }; // Match name - if ( !test && rmpd->entry_list[index].name && + if ( rmpd->entry_list[index].name && helper_token_match ( ftokens, rmpd->entry_list[index].name ) ) { test = 1; } |