From: adam Date: Sat, 8 May 2004 01:12:59 +0000 (+0000) Subject: another LineReader fix X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=9e639b1b21c11696b13bcb1bc961cd95cb5ab337 another LineReader fix darcs-hash:20040508011259-5007d-16d1a227b44d160f6128e8439ba781693eb81fcb.gz --- diff --git a/src/org/ibex/util/LineReader.java b/src/org/ibex/util/LineReader.java index 630c408..972dfe5 100644 --- a/src/org/ibex/util/LineReader.java +++ b/src/org/ibex/util/LineReader.java @@ -22,7 +22,7 @@ public class LineReader { if (buf[i-1] == '\r') ret = new String(buf, 0, i-1); else ret = new String(buf, 0, i); System.arraycopy(buf, i+1, buf, 0, buflen - (i+1)); - buflen -= i; + buflen -= i+1; return ret; } }