From f6c0d9d8328461d823d910b6fec038485a146b87 Mon Sep 17 00:00:00 2001 From: Scoopta Date: Sat, 23 Nov 2019 14:46:23 -0800 Subject: [PATCH] Entries with NoDisplay set now still get treated as entries that exist for ID checks --- modes/drun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modes/drun.c b/modes/drun.c index 49d70a7..9fd6e24 100644 --- a/modes/drun.c +++ b/modes/drun.c @@ -151,11 +151,11 @@ static void insert_dir(char* app_dir, struct map* cached, struct map* entries) { } size_t action_count; char** text = get_action_text(full_path, &action_count); + map_put(entries, entry->d_name, "true"); if(text == NULL) { free(full_path); continue; } - map_put(entries, entry->d_name, "true"); char** actions = get_action_actions(full_path, &action_count);