summaryrefslogtreecommitdiffstats
path: root/window-customize.c
diff options
context:
space:
mode:
Diffstat (limited to 'window-customize.c')
-rw-r--r--window-customize.c4
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;