Mercurial > hg > RemoteEditor > REPSessionManager
changeset 368:335f685ac658
*** empty log message ***
author | tkaito |
---|---|
date | Tue, 21 Oct 2008 20:11:09 +0900 |
parents | 1bde894edd83 |
children | 7d21eb209e27 |
files | rep/optimizers/DeleteInsertOptimizer.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rep/optimizers/DeleteInsertOptimizer.java Tue Oct 21 18:46:04 2008 +0900 +++ b/rep/optimizers/DeleteInsertOptimizer.java Tue Oct 21 20:11:09 2008 +0900 @@ -43,7 +43,7 @@ for(int i = ln+1; i < output.size(); i++){ REPCommand s = output.get(i); if(s.cmd==REP.REPCMD_INSERT) { - if(s.lineno < lineno){ + if(s.lineno <= lineno){ lineno --; }else if(s.lineno == lineno){ @@ -67,7 +67,7 @@ for(int i = r+1; i < count; i++){ REPCommand o = opt.get(i); if(o.lineno == 0){ - }else if(ln < o.lineno){ + }else if(ln <= o.lineno){ o.lineno -= 1; } }