commit | 640c1f547f49a574342306578852bdfe42b32542 | [log] [tgz] |
---|---|---|
author | Glenn L McGrath <bug1@ihug.co.nz> | Mon Sep 15 04:55:29 2003 +0000 |
committer | Glenn L McGrath <bug1@ihug.co.nz> | Mon Sep 15 04:55:29 2003 +0000 |
tree | 2c46c53fff2fc3d63d3ec53c7288739d773713b5 | |
parent | ba5eb27ce3de593e18345caa34128fbffdde9e1d [diff] |
Fix recursion problem
diff --git a/editors/sed.c b/editors/sed.c index 43395b3..b73d660 100644 --- a/editors/sed.c +++ b/editors/sed.c
@@ -1014,6 +1014,8 @@ } else { sed_cmd = branch_to(sed_cmd->label); } + /* Reset the substitution flag */ + substituted = 0; } break; case 'y':{