aboutsummaryrefslogtreecommitdiff
path: root/editors/sed.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-17 16:28:10 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-17 16:28:10 +0000
commit85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212 (patch)
tree94c3c0678d1349497abe2db6004e9331e50f6d37 /editors/sed.c
parent75648f106cb64fb6ccbb4a79d89fd6aef7298081 (diff)
downloadbusybox-w32-85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212.tar.gz
busybox-w32-85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212.tar.bz2
busybox-w32-85e2f33ede6f8cb70f9f50f6fb18c7b0a6082212.zip
whitespace cleanup
git-svn-id: svn://busybox.net/trunk/busybox@16142 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'editors/sed.c')
-rw-r--r--editors/sed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 9f3af33ed..f8e3720b5 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -103,7 +103,7 @@ struct sed_globals
103 103
104 regmatch_t regmatch[10]; 104 regmatch_t regmatch[10];
105 regex_t *previous_regex_ptr; 105 regex_t *previous_regex_ptr;
106 106
107 /* linked list of sed commands */ 107 /* linked list of sed commands */
108 sed_cmd_t sed_cmd_head, *sed_cmd_tail; 108 sed_cmd_t sed_cmd_head, *sed_cmd_tail;
109 109
@@ -780,7 +780,7 @@ restart:
780 || (sed_cmd->beg_line > 0 && (sed_cmd->beg_line == linenum)) 780 || (sed_cmd->beg_line > 0 && (sed_cmd->beg_line == linenum))
781 781
782 /* Or does this line match our begin address regex? */ 782 /* Or does this line match our begin address regex? */
783 || (sed_cmd->beg_match && 783 || (sed_cmd->beg_match &&
784 !regexec(sed_cmd->beg_match, pattern_space, 0, NULL, 0)) 784 !regexec(sed_cmd->beg_match, pattern_space, 0, NULL, 0))
785 785
786 /* Or did we match last line of input? */ 786 /* Or did we match last line of input? */