diff options
author | Thomas Adam <thomas@xteddy.org> | 2022-03-24 14:01:11 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2022-03-24 14:01:11 +0000 |
commit | b638886716bed43f081039e95aa1f38bfda83aff (patch) | |
tree | 2e6c47ca00c0b5737a9ad46dc992f961009d4c73 /window-customize.c | |
parent | 5e491e79475425ca58316eac30a76038756a6499 (diff) | |
parent | 938130bc6925808681cbc003a392ccce2a4455c1 (diff) | |
download | rtmux-b638886716bed43f081039e95aa1f38bfda83aff.tar.gz rtmux-b638886716bed43f081039e95aa1f38bfda83aff.tar.bz2 rtmux-b638886716bed43f081039e95aa1f38bfda83aff.zip |
Merge branch 'obsd-master' into master
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; |