summaryrefslogtreecommitdiff
path: root/editors/sed.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/sed.c')
-rw-r--r--editors/sed.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/sed.c b/editors/sed.c
index a0a127e..166e837 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;
}
}
}