summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkhelp.awk2
-rw-r--r--scripts/config/lxdialog/BIG.FAT.WARNING2
-rw-r--r--scripts/config/lxdialog/menubox.c8
-rw-r--r--scripts/config/lxdialog/util.c6
-rw-r--r--scripts/config/mconf.c2
-rw-r--r--scripts/config/menu.c2
6 files changed, 11 insertions, 11 deletions
diff --git a/scripts/checkhelp.awk b/scripts/checkhelp.awk
index 85d0661..608a46e 100755
--- a/scripts/checkhelp.awk
+++ b/scripts/checkhelp.awk
@@ -2,7 +2,7 @@
# AWK script to check for missing help entries for config options
#
# Copyright (C) 2006 Bernhard Fischer
-#
+#
# This file is distributed under the terms and conditions of the
# MIT/X public licenses. See http://opensource.org/licenses/mit-license.html
# and notice http://www.gnu.org/licenses/license-list.html#X11License
diff --git a/scripts/config/lxdialog/BIG.FAT.WARNING b/scripts/config/lxdialog/BIG.FAT.WARNING
index a8999d8..7cb5a7e 100644
--- a/scripts/config/lxdialog/BIG.FAT.WARNING
+++ b/scripts/config/lxdialog/BIG.FAT.WARNING
@@ -1,4 +1,4 @@
This is NOT the official version of dialog. This version has been
significantly modified from the original. It is for use by the Linux
-kernel configuration script. Please do not bother Savio Lam with
+kernel configuration script. Please do not bother Savio Lam with
questions about this program.
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++;
diff --git a/scripts/config/lxdialog/util.c b/scripts/config/lxdialog/util.c
index bb43c83..26dd376 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)
while (word && *word) {
sp = strchr(word, ' ');
if (sp)
- *sp++ = 0;
+ *sp++ = 0;
/* Wrap to next line if either the word does not fit,
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)
getyx (win, cur_y, cur_x);
cur_x++;
if (sp && *sp == ' ') {
- cur_x++; /* double space */
+ cur_x++; /* double space */
while (*++sp == ' ');
newl = 1;
} else
- newl = 0;
+ newl = 0;
word = sp;
}
}
diff --git a/scripts/config/mconf.c b/scripts/config/mconf.c
index b2fb112..b8f27e6 100644
--- a/scripts/config/mconf.c
+++ b/scripts/config/mconf.c
@@ -408,7 +408,7 @@ static void get_symbol_str(struct gstr *r, struct symbol *sym)
struct property *prop;
str_printf(r, "Symbol: %s [=%s]\n", sym->name,
- sym_get_string_value(sym));
+ sym_get_string_value(sym));
for_all_prompts(sym, prop)
get_prompt_str(r, prop);
hit = false;
diff --git a/scripts/config/menu.c b/scripts/config/menu.c
index 57292cf..7e97e83 100644
--- a/scripts/config/menu.c
+++ b/scripts/config/menu.c
@@ -185,7 +185,7 @@ void sym_check_prop(struct symbol *sym)
case P_RANGE:
if (sym->type != S_INT && sym->type != S_HEX)
prop_warn(prop, "range is only allowed "
- "for int or hex symbols");
+ "for int or hex symbols");
if (!sym_string_valid(sym, prop->expr->left.sym->name) ||
!sym_string_valid(sym, prop->expr->right.sym->name))
prop_warn(prop, "range is invalid");