aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/sed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/sed.c b/editors/sed.c
index bb39de149..57d3dda16 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -1097,6 +1097,8 @@ static void process_files(void)
1097 int old_matched, matched; 1097 int old_matched, matched;
1098 1098
1099 old_matched = sed_cmd->in_match; 1099 old_matched = sed_cmd->in_match;
1100 if (!old_matched)
1101 sed_cmd->end_line = sed_cmd->end_line_orig;
1100 1102
1101 /* Determine if this command matches this line: */ 1103 /* Determine if this command matches this line: */
1102 1104