aboutsummaryrefslogtreecommitdiff
path: root/scripts/config/lxdialog/util.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-17 16:28:10 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-17 16:28:10 +0000
commit9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e (patch)
tree94c3c0678d1349497abe2db6004e9331e50f6d37 /scripts/config/lxdialog/util.c
parenta6127aacef047ed7661722705b052811fbe7f467 (diff)
downloadbusybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.gz
busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.bz2
busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.zip
whitespace cleanup
Diffstat (limited to 'scripts/config/lxdialog/util.c')
-rw-r--r--scripts/config/lxdialog/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/config/lxdialog/util.c b/scripts/config/lxdialog/util.c
index bb43c836e..26dd376b9 100644
--- a/scripts/config/lxdialog/util.c
+++ b/scripts/config/lxdialog/util.c
@@ -224,7 +224,7 @@ print_autowrap (WINDOW * win, const char *prompt, int width, int y, int x)
224 while (word && *word) { 224 while (word && *word) {
225 sp = strchr(word, ' '); 225 sp = strchr(word, ' ');
226 if (sp) 226 if (sp)
227 *sp++ = 0; 227 *sp++ = 0;
228 228
229 /* Wrap to next line if either the word does not fit, 229 /* Wrap to next line if either the word does not fit,
230 or it is the first word of a new sentence, and it is 230 or it is the first word of a new sentence, and it is
@@ -242,11 +242,11 @@ print_autowrap (WINDOW * win, const char *prompt, int width, int y, int x)
242 getyx (win, cur_y, cur_x); 242 getyx (win, cur_y, cur_x);
243 cur_x++; 243 cur_x++;
244 if (sp && *sp == ' ') { 244 if (sp && *sp == ' ') {
245 cur_x++; /* double space */ 245 cur_x++; /* double space */
246 while (*++sp == ' '); 246 while (*++sp == ' ');
247 newl = 1; 247 newl = 1;
248 } else 248 } else
249 newl = 0; 249 newl = 0;
250 word = sp; 250 word = sp;
251 } 251 }
252 } 252 }