summaryrefslogtreecommitdiffstats
path: root/source/dialogs
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-03-17 13:33:47 +0100
committerDave Davenport <qball@gmpclient.org>2017-03-17 13:33:47 +0100
commitdfeb5940d4c447bb5c71104726ab416a04e6bfb4 (patch)
tree93fd22032780e42f81b302c0b536376e630cfda7 /source/dialogs
parent000c1139254857fb944e3ad6c6bd06dc4b07f034 (diff)
Reduce scope and unneeded check.
Diffstat (limited to 'source/dialogs')
-rw-r--r--source/dialogs/drun.c2
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;
}