diff options
author | Thomas Adam <thomas@xteddy.org> | 2021-11-01 10:01:13 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2021-11-01 10:01:13 +0000 |
commit | 774903f6c4b1c1ae44517af43a7d70d80eb7d805 (patch) | |
tree | ffb9544d0a82f0612dc178d4e31d887eedf02e67 | |
parent | c76904343a3ddfea3c58ec00d9904c16574a8af3 (diff) | |
parent | 4fe5aa99fb203ddb25089955d8814e1065e11a60 (diff) | |
download | rtmux-774903f6c4b1c1ae44517af43a7d70d80eb7d805.tar.gz rtmux-774903f6c4b1c1ae44517af43a7d70d80eb7d805.tar.bz2 rtmux-774903f6c4b1c1ae44517af43a7d70d80eb7d805.zip |
Merge branch 'obsd-master' into master
-rw-r--r-- | colour.c | 2 | ||||
-rw-r--r-- | status.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -115,7 +115,7 @@ colour_force_rgb(int c) return (colour_256toRGB(c)); if (c >= 0 && c <= 7) return (colour_256toRGB(c)); - if (c >= 90 & c <= 97) + if (c >= 90 && c <= 97) return (colour_256toRGB(8 + c - 90)); return (-1); } @@ -1727,7 +1727,7 @@ status_prompt_complete_list_menu(struct client *c, char **list, u_int size, item.name = list[i]; item.key = '0' + (i - spm->start); item.command = NULL; - menu_add_item(menu, &item, NULL, NULL, NULL); + menu_add_item(menu, &item, NULL, c, NULL); } if (options_get_number(c->session->options, "status-position") == 0) |