Entries with NoDisplay set now still get treated as entries that exist for ID checks
This commit is contained in:
parent
49295d8b13
commit
f6c0d9d832
@ -151,11 +151,11 @@ static void insert_dir(char* app_dir, struct map* cached, struct map* entries) {
|
|||||||
}
|
}
|
||||||
size_t action_count;
|
size_t action_count;
|
||||||
char** text = get_action_text(full_path, &action_count);
|
char** text = get_action_text(full_path, &action_count);
|
||||||
|
map_put(entries, entry->d_name, "true");
|
||||||
if(text == NULL) {
|
if(text == NULL) {
|
||||||
free(full_path);
|
free(full_path);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
map_put(entries, entry->d_name, "true");
|
|
||||||
|
|
||||||
char** actions = get_action_actions(full_path, &action_count);
|
char** actions = get_action_actions(full_path, &action_count);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user