summaryrefslogtreecommitdiff
path: root/scripts/config/lxdialog/menubox.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-09-17 16:28:10 +0000
committerDenis Vlasenko2006-09-17 16:28:10 +0000
commit9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e (patch)
tree94c3c0678d1349497abe2db6004e9331e50f6d37 /scripts/config/lxdialog/menubox.c
parenta6127aacef047ed7661722705b052811fbe7f467 (diff)
downloadbusybox-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.zip
busybox-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.gz
whitespace cleanup
Diffstat (limited to 'scripts/config/lxdialog/menubox.c')
-rw-r--r--scripts/config/lxdialog/menubox.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/config/lxdialog/menubox.c b/scripts/config/lxdialog/menubox.c
index 23a38e0..bdaaa10 100644
--- a/scripts/config/lxdialog/menubox.c
+++ b/scripts/config/lxdialog/menubox.c
@@ -305,7 +305,7 @@ dialog_menu (const char *title, const char *prompt, int height, int width,
if (key == KEY_UP || key == '-') {
if (choice < 2 && scroll) {
- /* Scroll menu down */
+ /* Scroll menu down */
scrollok (menu, TRUE);
wscrl (menu, -1);
scrollok (menu, FALSE);
@@ -339,7 +339,7 @@ dialog_menu (const char *title, const char *prompt, int height, int width,
choice = MIN(choice+1, max_choice-1);
} else if (key == KEY_PPAGE) {
- scrollok (menu, TRUE);
+ scrollok (menu, TRUE);
for (i=0; (i < max_choice); i++) {
if (scroll > 0) {
wscrl (menu, -1);
@@ -361,8 +361,8 @@ dialog_menu (const char *title, const char *prompt, int height, int width,
scrollok (menu, FALSE);
scroll++;
print_item (menu, items[scroll + max_choice - 1]->name,
- max_choice-1, FALSE,
- (items[scroll + max_choice - 1]->tag[0] != ':'));
+ max_choice-1, FALSE,
+ (items[scroll + max_choice - 1]->tag[0] != ':'));
} else {
if (choice+1 < max_choice)
choice++;