Missing break was screwing up 'y//' command. Bug #248.
This commit is contained in:
parent
92255d60b8
commit
babd3fbba6
@ -1025,6 +1025,7 @@ restart:
|
|||||||
for (j = 0; sed_cmd->string[j]; j += 2) {
|
for (j = 0; sed_cmd->string[j]; j += 2) {
|
||||||
if (pattern_space[i] == sed_cmd->string[j]) {
|
if (pattern_space[i] == sed_cmd->string[j]) {
|
||||||
pattern_space[i] = sed_cmd->string[j + 1];
|
pattern_space[i] = sed_cmd->string[j + 1];
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user