aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-03 19:56:34 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-03 19:56:34 +0000
commit9275814a9e6a3af390c932238c0b1130de8d0edd (patch)
treebeabb5991332e0e2af56b4cb885a8fd6fc7daae2 /editors
parentcf94446af7a75385955e0c4de2d5898b219f5719 (diff)
downloadbusybox-9275814a9e6a3af390c932238c0b1130de8d0edd.tar.gz
lots of silly indent fixes
Diffstat (limited to 'editors')
-rw-r--r--editors/awk.c4
-rw-r--r--editors/sed.c2
-rw-r--r--editors/vi.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/editors/awk.c b/editors/awk.c
index bebc78092..b46f25c0a 100644
--- a/editors/awk.c
+++ b/editors/awk.c
@@ -1764,7 +1764,7 @@ static char *awk_printf(node *n)
is_numeric(arg) ? (char)getvar_i(arg) : *getvar_s(arg));
} else if (c == 's') {
- s1 = getvar_s(arg);
+ s1 = getvar_s(arg);
qrealloc(&b, incr+i+strlen(s1), &bsize);
i += sprintf(b+i, s, s1);
@@ -2434,7 +2434,7 @@ re_cont:
R.d--;
goto r_op_change;
case '!':
- L.d = istrue(X.v) ? 0 : 1;
+ L.d = istrue(X.v) ? 0 : 1;
break;
case '-':
L.d = -R.d;
diff --git a/editors/sed.c b/editors/sed.c
index 54d08ee02..94dc820be 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -153,7 +153,7 @@ void sed_free_and_close_stuff(void)
if(bbg.hold_space) free(bbg.hold_space);
- while(bbg.current_input_file<bbg.input_file_count)
+ while(bbg.current_input_file<bbg.input_file_count)
fclose(bbg.input_file_list[bbg.current_input_file++]);
}
#endif
diff --git a/editors/vi.c b/editors/vi.c
index 8ff118ffb..fa30cf29c 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -3501,8 +3501,8 @@ key_cmd_mode:
if (file_modified) {
#ifdef CONFIG_FEATURE_VI_READONLY
if (vi_readonly || readonly) {
- psbs("\"%s\" File is read only", cfn);
- break;
+ psbs("\"%s\" File is read only", cfn);
+ break;
}
#endif /* CONFIG_FEATURE_VI_READONLY */
cnt = file_write(cfn, text, end - 1);