summaryrefslogtreecommitdiffstats
path: root/cmd-queue.c
diff options
context:
space:
mode:
authornicm <nicm>2021-04-07 12:50:12 +0000
committernicm <nicm>2021-04-07 12:50:12 +0000
commit71fc9f3ee8753a2bb163c85c784936a8d6d3e0ac (patch)
tree3ad3b9adad9887b2a661a64e3ea2573d1f28ecc5 /cmd-queue.c
parent1ac47400d296ad3a56e9740f9249175bb59953d5 (diff)
Add a current_file format for the config file being parsed. Originally
suggested by kn@, also GitHub issue 2638.
Diffstat (limited to 'cmd-queue.c')
-rw-r--r--cmd-queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-queue.c b/cmd-queue.c
index 05f439f5..a0d80c34 100644
--- a/cmd-queue.c
+++ b/cmd-queue.c
@@ -276,7 +276,7 @@ cmdq_merge_formats(struct cmdq_item *item, struct format_tree *ft)
const struct cmd_entry *entry;
if (item->cmd != NULL) {
- entry = cmd_get_entry (item->cmd);
+ entry = cmd_get_entry(item->cmd);
format_add(ft, "command", "%s", entry->name);
}
if (item->state->formats != NULL)