diff options
author | nicm <nicm> | 2020-04-13 08:26:27 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-13 08:26:27 +0000 |
commit | c20eb0c0ae3347c768894a6355adfd7ebae6f2f3 (patch) | |
tree | 970e82f29bd603d459476d44245ce73aad18666e /format.c | |
parent | 9cbe9675ea8a8efb01dcc5f267e6d5853b2cd58f (diff) | |
download | rtmux-c20eb0c0ae3347c768894a6355adfd7ebae6f2f3.tar.gz rtmux-c20eb0c0ae3347c768894a6355adfd7ebae6f2f3.tar.bz2 rtmux-c20eb0c0ae3347c768894a6355adfd7ebae6f2f3.zip |
Make struct cmd local to cmd.c and move it out of tmux.h.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1128,8 +1128,10 @@ format_create_add_item(struct format_tree *ft, struct cmdq_item *item) struct window_pane *wp; u_int x, y; - if (item->cmd != NULL) - format_add(ft, "command", "%s", item->cmd->entry->name); + if (item->cmd != NULL) { + format_add(ft, "command", "%s", + cmd_get_entry (item->cmd)->name); + } if (item->shared == NULL) return; |