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.
This commit is contained in:
nicm
2022-03-24 12:07:25 +00:00
parent 792d13af49
commit 938130bc69
3 changed files with 3 additions and 4 deletions

View File

@ -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;