diff options
author | nicm <nicm> | 2022-03-24 12:07:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-04-06 14:19:51 +0100 |
commit | d4eda7f9e5d33c613bb22770a677779ffbe9b363 (patch) | |
tree | 16335b1fb05f4ad812f04c2bd296312db0fc1bb0 /window-customize.c | |
parent | 89a0046ad360d7a499732e327bae69b7e4b2536e (diff) | |
download | rtmux-d4eda7f9e5d33c613bb22770a677779ffbe9b363.tar.gz rtmux-d4eda7f9e5d33c613bb22770a677779ffbe9b363.tar.bz2 rtmux-d4eda7f9e5d33c613bb22770a677779ffbe9b363.zip |
Add unit (milliseconds) to escape-time, show unset colours as "none"
rather than "invalid" and don't show the same text twice for user
options in customize mode.
Diffstat (limited to 'window-customize.c')
-rw-r--r-- | window-customize.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/window-customize.c b/window-customize.c index 98387e50..4a16e90c 100644 --- a/window-customize.c +++ b/window-customize.c @@ -680,9 +680,7 @@ window_customize_draw_option(struct window_customize_modedata *data, } ft = format_create_from_state(NULL, NULL, &fs); - if (oe == NULL) - text = "This is a user option."; - else if (oe->text == NULL) + if (oe == NULL || oe->text == NULL) text = "This option doesn't have a description."; else text = oe->text; |