diff options
author | obscuren <geffobscura@gmail.com> | 2014-11-03 07:29:34 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-11-03 07:29:34 +0800 |
commit | 5dcf59bdf4b1a63ca8733994a81c936becf59933 (patch) | |
tree | 6ba094a7ddd67466dd14cbd002b59b14dfe5164e /compression/rle/read_write.go | |
parent | 9f8bcf3abca8c6c32efc384f6c6eda1677b769c5 (diff) | |
download | go-tangerine-5dcf59bdf4b1a63ca8733994a81c936becf59933.tar.gz go-tangerine-5dcf59bdf4b1a63ca8733994a81c936becf59933.tar.zst go-tangerine-5dcf59bdf4b1a63ca8733994a81c936becf59933.zip |
Forgot to put in regular bytes during decompression
Diffstat (limited to 'compression/rle/read_write.go')
-rw-r--r-- | compression/rle/read_write.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compression/rle/read_write.go b/compression/rle/read_write.go index e6f78e372..b4b73dab4 100644 --- a/compression/rle/read_write.go +++ b/compression/rle/read_write.go @@ -37,6 +37,8 @@ func Decompress(dat []byte) ([]byte, error) { } else { return nil, errors.New("error reading bytes. token encountered without proceeding bytes") } + } else { + buf.WriteByte(dat[i]) } } |