summaryrefslogtreecommitdiff
path: root/src/pkg/io/bytebuffer.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/io/bytebuffer.go')
-rw-r--r--src/pkg/io/bytebuffer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/io/bytebuffer.go b/src/pkg/io/bytebuffer.go
index 2c356192e..6971c0e03 100644
--- a/src/pkg/io/bytebuffer.go
+++ b/src/pkg/io/bytebuffer.go
@@ -113,7 +113,7 @@ func (b *ByteBuffer) ReadByte() (c byte, err os.Error) {
if b.off >= len(b.buf) {
return 0, os.EOF;
}
- c = b.buf[b.off];
+ c = b.buf[b.off];
b.off++;
return c, nil;
}