mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
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:
parent
6387c336b6
commit
7e2aa2c627
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue