diff options
Diffstat (limited to 'scripts/kconfig/lxdialog/menubox.c')
-rw-r--r-- | scripts/kconfig/lxdialog/menubox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/lxdialog/menubox.c b/scripts/kconfig/lxdialog/menubox.c index c93de0b2faca..11ae9ad7ac7b 100644 --- a/scripts/kconfig/lxdialog/menubox.c +++ b/scripts/kconfig/lxdialog/menubox.c | |||
@@ -64,7 +64,7 @@ static int menu_width, item_x; | |||
64 | * Print menu item | 64 | * Print menu item |
65 | */ | 65 | */ |
66 | static void do_print_item(WINDOW * win, const char *item, int line_y, | 66 | static void do_print_item(WINDOW * win, const char *item, int line_y, |
67 | int selected, int hotkey) | 67 | int selected, int hotkey) |
68 | { | 68 | { |
69 | int j; | 69 | int j; |
70 | char *menu_item = malloc(menu_width + 1); | 70 | char *menu_item = malloc(menu_width + 1); |
@@ -182,7 +182,7 @@ static void do_scroll(WINDOW *win, int *scroll, int n) | |||
182 | * Display a menu for choosing among a number of options | 182 | * Display a menu for choosing among a number of options |
183 | */ | 183 | */ |
184 | int dialog_menu(const char *title, const char *prompt, | 184 | int dialog_menu(const char *title, const char *prompt, |
185 | const void *selected, int *s_scroll) | 185 | const void *selected, int *s_scroll) |
186 | { | 186 | { |
187 | int i, j, x, y, box_x, box_y; | 187 | int i, j, x, y, box_x, box_y; |
188 | int height, width, menu_height; | 188 | int height, width, menu_height; |