diff --git a/wt-status.c b/wt-status.c
index 27b946d55299d66031b31949da187ffb670e484b..f14022f2a9b8ce740067f7c6bf03bd51203cf2ca 100644 (file)
--- a/wt-status.c
+++ b/wt-status.c
}
if (!prefixcmp(k, "status.color.") || !prefixcmp(k, "color.status.")) {
int slot = parse_status_slot(k, 13);
+ if (!v)
+ return config_error_nonbool(k);
color_parse(v, k, wt_status_colors[slot]);
return 0;
}