aboutsummaryrefslogtreecommitdiff
path: root/editors/sed.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-05-27 11:56:52 +0100
committerRon Yorston <rmy@pobox.com>2019-05-27 11:56:52 +0100
commita61949401890cbb33a9d6c4571b51c53460ad438 (patch)
tree64dedaddb89896d5b1670a421af123670ca2120b /editors/sed.c
parent03a7b173605a890e1db5177ecd5b8dd591081c41 (diff)
parentbcb1fc3e6ca6fe902610f507eaf9b0b58a5c583a (diff)
downloadbusybox-w32-a61949401890cbb33a9d6c4571b51c53460ad438.tar.gz
busybox-w32-a61949401890cbb33a9d6c4571b51c53460ad438.tar.bz2
busybox-w32-a61949401890cbb33a9d6c4571b51c53460ad438.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'editors/sed.c')
-rw-r--r--editors/sed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/sed.c b/editors/sed.c
index a5cedbd8d..a93e5494a 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -1108,6 +1108,8 @@ static void process_files(void)
1108 int old_matched, matched; 1108 int old_matched, matched;
1109 1109
1110 old_matched = sed_cmd->in_match; 1110 old_matched = sed_cmd->in_match;
1111 if (!old_matched)
1112 sed_cmd->end_line = sed_cmd->end_line_orig;
1111 1113
1112 /* Determine if this command matches this line: */ 1114 /* Determine if this command matches this line: */
1113 1115