diff options
-rw-r--r-- | editors/sed.c | 1 |
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: | |||
1025 | for (j = 0; sed_cmd->string[j]; j += 2) { | 1025 | for (j = 0; sed_cmd->string[j]; j += 2) { |
1026 | if (pattern_space[i] == sed_cmd->string[j]) { | 1026 | if (pattern_space[i] == sed_cmd->string[j]) { |
1027 | pattern_space[i] = sed_cmd->string[j + 1]; | 1027 | pattern_space[i] = sed_cmd->string[j + 1]; |
1028 | break; | ||
1028 | } | 1029 | } |
1029 | } | 1030 | } |
1030 | } | 1031 | } |