diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 17:54:59 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 17:54:59 -0600 |
commit | 72a9bdf3ac545e09de89671a5db3a4b6c19d1e1e (patch) | |
tree | 08d8934927e29f006cec36485d0ed9a53aea6d9e /misc/buildroot/package/config/lxdialog/menubox.c | |
parent | 1a552bd8cdbbd50f26a785a1f74b94b29a3be2f6 (diff) | |
download | nuttx-72a9bdf3ac545e09de89671a5db3a4b6c19d1e1e.tar.gz nuttx-72a9bdf3ac545e09de89671a5db3a4b6c19d1e1e.tar.bz2 nuttx-72a9bdf3ac545e09de89671a5db3a4b6c19d1e1e.zip |
Removing more trailing whitespace
Diffstat (limited to 'misc/buildroot/package/config/lxdialog/menubox.c')
-rw-r--r-- | misc/buildroot/package/config/lxdialog/menubox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/buildroot/package/config/lxdialog/menubox.c b/misc/buildroot/package/config/lxdialog/menubox.c index 873dc587b..b5b3142af 100644 --- a/misc/buildroot/package/config/lxdialog/menubox.c +++ b/misc/buildroot/package/config/lxdialog/menubox.c @@ -26,7 +26,7 @@ * * *) A bugfix for the Page-Down problem * - * *) Formerly when I used Page Down and Page Up, the cursor would be set + * *) Formerly when I used Page Down and Page Up, the cursor would be set * to the first position in the menu box. Now lxdialog is a bit * smarter and works more like other menu systems (just have a look at * it). @@ -225,7 +225,7 @@ dialog_menu (const char *title, const char *prompt, int height, int width, /* * Find length of longest item in order to center menu. - * Set 'choice' to default item. + * Set 'choice' to default item. */ item_x = 0; for (i = 0; i < item_no; i++) { @@ -294,7 +294,7 @@ dialog_menu (const char *title, const char *prompt, int height, int width, } } - if (i < max_choice || + if (i < max_choice || key == KEY_UP || key == KEY_DOWN || key == '-' || key == '+' || key == KEY_PPAGE || key == KEY_NPAGE) { |