summaryrefslogtreecommitdiff
path: root/util/kconfig/lxdialog/menubox.c
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2015-04-06 00:59:23 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-04-06 23:13:15 +0200
commit3ec23b3d51be35f871a89295fac53002904c3143 (patch)
tree9949ed0e79deb4d065c122b96792141ec9e21a66 /util/kconfig/lxdialog/menubox.c
parent14f72bc2cc2aa89d9e4cd6efcae3fcc46ea9b59b (diff)
kbuild: trivial - use tabs for code indent where possible
Imported from upstream linux kernel kconfig. Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Change-Id: Ieed948c6b9c5fc40c1f3d652df11fa70ec6e93a0 Original-Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Original-Signed-off-by: Michal Marek <mmarek@suse.cz> Reviewed-on: http://review.coreboot.org/9308 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Diffstat (limited to 'util/kconfig/lxdialog/menubox.c')
-rw-r--r--util/kconfig/lxdialog/menubox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/kconfig/lxdialog/menubox.c b/util/kconfig/lxdialog/menubox.c
index c93de0b2fa..11ae9ad7ac 100644
--- a/util/kconfig/lxdialog/menubox.c
+++ b/util/kconfig/lxdialog/menubox.c
@@ -64,7 +64,7 @@ static int menu_width, item_x;
* Print menu item
*/
static void do_print_item(WINDOW * win, const char *item, int line_y,
- int selected, int hotkey)
+ int selected, int hotkey)
{
int j;
char *menu_item = malloc(menu_width + 1);
@@ -182,7 +182,7 @@ static void do_scroll(WINDOW *win, int *scroll, int n)
* Display a menu for choosing among a number of options
*/
int dialog_menu(const char *title, const char *prompt,
- const void *selected, int *s_scroll)
+ const void *selected, int *s_scroll)
{
int i, j, x, y, box_x, box_y;
int height, width, menu_height;