Simplify add_menu, part 10

This commit is contained in:
Pasi Kallinen
2023-11-03 22:37:50 +02:00
parent 4dd9602f4b
commit 56f4657041
2 changed files with 4 additions and 10 deletions

View File

@@ -1656,9 +1656,7 @@ spellsortmenu(void)
if (i == SORTRETAINORDER) {
let = 'z'; /* assumes fewer than 26 sort choices... */
/* separate final choice from others with a blank line */
any.a_int = 0;
add_menu(tmpwin, &nul_glyphinfo, &any, 0, 0,
ATR_NONE, clr, "", MENU_ITEMFLAGS_NONE);
add_menu_str(tmpwin, "");
} else {
let = 'a' + i;
}