diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-03 19:56:34 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-03 19:56:34 +0000 |
commit | 9275814a9e6a3af390c932238c0b1130de8d0edd (patch) | |
tree | beabb5991332e0e2af56b4cb885a8fd6fc7daae2 /editors | |
parent | cf94446af7a75385955e0c4de2d5898b219f5719 (diff) | |
download | busybox-w32-9275814a9e6a3af390c932238c0b1130de8d0edd.tar.gz busybox-w32-9275814a9e6a3af390c932238c0b1130de8d0edd.tar.bz2 busybox-w32-9275814a9e6a3af390c932238c0b1130de8d0edd.zip |
lots of silly indent fixes
Diffstat (limited to 'editors')
-rw-r--r-- | editors/awk.c | 4 | ||||
-rw-r--r-- | editors/sed.c | 2 | ||||
-rw-r--r-- | editors/vi.c | 4 |
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) | |||
1764 | is_numeric(arg) ? (char)getvar_i(arg) : *getvar_s(arg)); | 1764 | is_numeric(arg) ? (char)getvar_i(arg) : *getvar_s(arg)); |
1765 | 1765 | ||
1766 | } else if (c == 's') { | 1766 | } else if (c == 's') { |
1767 | s1 = getvar_s(arg); | 1767 | s1 = getvar_s(arg); |
1768 | qrealloc(&b, incr+i+strlen(s1), &bsize); | 1768 | qrealloc(&b, incr+i+strlen(s1), &bsize); |
1769 | i += sprintf(b+i, s, s1); | 1769 | i += sprintf(b+i, s, s1); |
1770 | 1770 | ||
@@ -2434,7 +2434,7 @@ re_cont: | |||
2434 | R.d--; | 2434 | R.d--; |
2435 | goto r_op_change; | 2435 | goto r_op_change; |
2436 | case '!': | 2436 | case '!': |
2437 | L.d = istrue(X.v) ? 0 : 1; | 2437 | L.d = istrue(X.v) ? 0 : 1; |
2438 | break; | 2438 | break; |
2439 | case '-': | 2439 | case '-': |
2440 | L.d = -R.d; | 2440 | 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) | |||
153 | 153 | ||
154 | if(bbg.hold_space) free(bbg.hold_space); | 154 | if(bbg.hold_space) free(bbg.hold_space); |
155 | 155 | ||
156 | while(bbg.current_input_file<bbg.input_file_count) | 156 | while(bbg.current_input_file<bbg.input_file_count) |
157 | fclose(bbg.input_file_list[bbg.current_input_file++]); | 157 | fclose(bbg.input_file_list[bbg.current_input_file++]); |
158 | } | 158 | } |
159 | #endif | 159 | #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: | |||
3501 | if (file_modified) { | 3501 | if (file_modified) { |
3502 | #ifdef CONFIG_FEATURE_VI_READONLY | 3502 | #ifdef CONFIG_FEATURE_VI_READONLY |
3503 | if (vi_readonly || readonly) { | 3503 | if (vi_readonly || readonly) { |
3504 | psbs("\"%s\" File is read only", cfn); | 3504 | psbs("\"%s\" File is read only", cfn); |
3505 | break; | 3505 | break; |
3506 | } | 3506 | } |
3507 | #endif /* CONFIG_FEATURE_VI_READONLY */ | 3507 | #endif /* CONFIG_FEATURE_VI_READONLY */ |
3508 | cnt = file_write(cfn, text, end - 1); | 3508 | cnt = file_write(cfn, text, end - 1); |