aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/sed.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/sed.c b/editors/sed.c
index a0a127e2b..166e837da 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -1025,6 +1025,7 @@ restart:
for (j = 0; sed_cmd->string[j]; j += 2) {
if (pattern_space[i] == sed_cmd->string[j]) {
pattern_space[i] = sed_cmd->string[j + 1];
+ break;
}
}
}