diff options
author | Tim Riker <tim@rikers.org> | 2006-01-25 00:08:53 +0000 |
---|---|---|
committer | Tim Riker <tim@rikers.org> | 2006-01-25 00:08:53 +0000 |
commit | c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4 (patch) | |
tree | 5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /scripts/config/lxdialog/util.c | |
parent | f64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 (diff) | |
download | busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.bz2 busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.zip |
just whitespace
Diffstat (limited to 'scripts/config/lxdialog/util.c')
-rw-r--r-- | scripts/config/lxdialog/util.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/config/lxdialog/util.c b/scripts/config/lxdialog/util.c index 6f83951b9..47afa5e6a 100644 --- a/scripts/config/lxdialog/util.c +++ b/scripts/config/lxdialog/util.c | |||
@@ -29,7 +29,7 @@ const char *backtitle = NULL; | |||
29 | 29 | ||
30 | const char *dialog_result; | 30 | const char *dialog_result; |
31 | 31 | ||
32 | /* | 32 | /* |
33 | * Attribute values, default is for mono display | 33 | * Attribute values, default is for mono display |
34 | */ | 34 | */ |
35 | chtype attributes[] = | 35 | chtype attributes[] = |
@@ -127,13 +127,13 @@ void dialog_clear (void) | |||
127 | attr_clear (stdscr, LINES, COLS, screen_attr); | 127 | attr_clear (stdscr, LINES, COLS, screen_attr); |
128 | /* Display background title if it exists ... - SLH */ | 128 | /* Display background title if it exists ... - SLH */ |
129 | if (backtitle != NULL) { | 129 | if (backtitle != NULL) { |
130 | int i; | 130 | int i; |
131 | 131 | ||
132 | wattrset (stdscr, screen_attr); | 132 | wattrset (stdscr, screen_attr); |
133 | mvwaddstr (stdscr, 0, 1, (char *)backtitle); | 133 | mvwaddstr (stdscr, 0, 1, (char *)backtitle); |
134 | wmove (stdscr, 1, 1); | 134 | wmove (stdscr, 1, 1); |
135 | for (i = 1; i < COLS - 1; i++) | 135 | for (i = 1; i < COLS - 1; i++) |
136 | waddch (stdscr, ACS_HLINE); | 136 | waddch (stdscr, ACS_HLINE); |
137 | } | 137 | } |
138 | wnoutrefresh (stdscr); | 138 | wnoutrefresh (stdscr); |
139 | } | 139 | } |
@@ -204,7 +204,7 @@ print_autowrap (WINDOW * win, const char *prompt, int width, int y, int x) | |||
204 | strcpy (tempstr, prompt); | 204 | strcpy (tempstr, prompt); |
205 | 205 | ||
206 | prompt_len = strlen(tempstr); | 206 | prompt_len = strlen(tempstr); |
207 | 207 | ||
208 | /* | 208 | /* |
209 | * Remove newlines | 209 | * Remove newlines |
210 | */ | 210 | */ |
@@ -350,7 +350,7 @@ first_alpha(const char *string, const char *exempt) | |||
350 | if (strchr("<[(", c)) ++in_paren; | 350 | if (strchr("<[(", c)) ++in_paren; |
351 | if (strchr(">])", c) && in_paren > 0) --in_paren; | 351 | if (strchr(">])", c) && in_paren > 0) --in_paren; |
352 | 352 | ||
353 | if ((! in_paren) && isalpha(c) && | 353 | if ((! in_paren) && isalpha(c) && |
354 | strchr(exempt, c) == 0) | 354 | strchr(exempt, c) == 0) |
355 | return i; | 355 | return i; |
356 | } | 356 | } |