Make status hilites show none instead of empty in options
This commit is contained in:
@@ -3616,6 +3616,7 @@ doset()
|
|||||||
#ifdef STATUS_HILITES
|
#ifdef STATUS_HILITES
|
||||||
any.a_int = -2;
|
any.a_int = -2;
|
||||||
get_status_hilites(buf2, 60);
|
get_status_hilites(buf2, 60);
|
||||||
|
if (!*buf2) Sprintf(buf2, "%s", "(none)");
|
||||||
if (!iflags.menu_tab_sep)
|
if (!iflags.menu_tab_sep)
|
||||||
Sprintf(buf, fmtstr_doset_add_menu, any.a_int ? "" : " ",
|
Sprintf(buf, fmtstr_doset_add_menu, any.a_int ? "" : " ",
|
||||||
"status_hilites", buf2);
|
"status_hilites", buf2);
|
||||||
|
|||||||
Reference in New Issue
Block a user