diff options
author | nicm <nicm> | 2020-05-16 14:53:23 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-05-16 14:53:23 +0000 |
commit | 5bf96c2f2c40e93b8e66d7100f7b3dc9074a1ca6 (patch) | |
tree | d8a716e90726e9b9b58d207836d697ba74840df2 /menu.c | |
parent | 428137d8765f6aeb56503d8d37e3b1c9b33994ce (diff) | |
download | rtmux-5bf96c2f2c40e93b8e66d7100f7b3dc9074a1ca6.tar.gz rtmux-5bf96c2f2c40e93b8e66d7100f7b3dc9074a1ca6.tar.bz2 rtmux-5bf96c2f2c40e93b8e66d7100f7b3dc9074a1ca6.zip |
Use a grid cell not a style for the pane style.
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -73,7 +73,7 @@ menu_add_item(struct menu *menu, const struct menu_item *item, return; if (fs != NULL) - s = format_single(qitem, item->name, c, fs->s, fs->wl, fs->wp); + s = format_single_from_state(qitem, item->name, c, fs); else s = format_single(qitem, item->name, c, NULL, NULL, NULL); if (*s == '\0') { /* no item if empty after format expanded */ @@ -91,7 +91,7 @@ menu_add_item(struct menu *menu, const struct menu_item *item, cmd = item->command; if (cmd != NULL) { if (fs != NULL) - s = format_single(qitem, cmd, c, fs->s, fs->wl, fs->wp); + s = format_single_from_state(qitem, cmd, c, fs); else s = format_single(qitem, cmd, c, NULL, NULL, NULL); } else |