lkml.org 
[lkml]   [2023]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2/2] menuconfig: reclaim 1 more vertical line
Empty line after legend is waste, use it for config options.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

scripts/kconfig/lxdialog/menubox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/scripts/kconfig/lxdialog/menubox.c
+++ b/scripts/kconfig/lxdialog/menubox.c
@@ -185,7 +185,7 @@ int dialog_menu(const char *title, const char *prompt,

height -= 2;
width -= 5;
- menu_height = height - 10;
+ menu_height = height - 9;

max_choice = MIN(menu_height, item_count());

\
 
 \ /
  Last update: 2023-03-27 00:44    [W:0.284 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site