From dfeb5940d4c447bb5c71104726ab416a04e6bfb4 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 17 Mar 2017 13:33:47 +0100 Subject: Reduce scope and unneeded check. --- source/dialogs/drun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/dialogs') 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; } -- cgit v1.2.3