diff --git a/menu.c b/menu.c index 4c6403a0..a1c81816 100644 --- a/menu.c +++ b/menu.c @@ -100,6 +100,8 @@ menu_add_item(struct menu *menu, const struct menu_item *item, new_item->key = item->key; width = format_width(new_item->name); + if (*new_item->name == '-') + width--; if (width > menu->width) menu->width = width; }