Remove extra plus sign from Huff_Compress()

There was an extra plus sign in Huff_Compress(). It wasn't causing any
issues as it does not affect the generated code. Removing it makes the
source code the same as Huff_Decompress().

The odd source code was brought to my attention by Tobias Kuehnhammer.
This commit is contained in:
Zack Middleton 2018-01-14 18:24:12 -06:00
parent 6387c336b6
commit 7e2aa2c627
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ void Huff_Compress(msg_t *mbuf, int offset) {
huff_t huff;
size = mbuf->cursize - offset;
buffer = mbuf->data+ + offset;
buffer = mbuf->data + offset;
if (size<=0) {
return;