expo: Drop the gap between groups of menu items
The gap is intended to separate options which are on different bootdevs, but most of the time there is only one. So drop this gap. Keep the code around in case it becomes useful to have it in the style, or based on some other mechanism. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -117,6 +117,9 @@ int bootflow_menu_add(struct expo *exp, struct bootflow *bflow, int seq,
|
||||
}
|
||||
|
||||
add_gap = priv->last_bootdev != bflow->dev;
|
||||
|
||||
/* disable this gap for now, since it looks a little ugly */
|
||||
add_gap = false;
|
||||
priv->last_bootdev = bflow->dev;
|
||||
|
||||
ret = expo_str(exp, "prompt", STR_POINTER, ">");
|
||||
|
||||
Reference in New Issue
Block a user