diff options
author | Rob Landley | 2005-09-02 00:10:06 +0000 |
---|---|---|
committer | Rob Landley | 2005-09-02 00:10:06 +0000 |
commit | babd3fbba668e04841cbe683ca49097fb871fca8 (patch) | |
tree | a19d20f7697fb092da7fe50fba539b5225cf4256 /editors | |
parent | 92255d60b840184e9418fa29a077be860bcc767b (diff) | |
download | busybox-babd3fbba668e04841cbe683ca49097fb871fca8.zip busybox-babd3fbba668e04841cbe683ca49097fb871fca8.tar.gz |
Missing break was screwing up 'y//' command. Bug #248.
Diffstat (limited to 'editors')
-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 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; } } } |