summaryrefslogtreecommitdiff
path: root/src/huffman.c
diff options
context:
space:
mode:
authorjohannes <johannes.herman@gmail.com>2024-02-06 12:35:35 +0100
committerjohannes <johannes.herman@gmail.com>2024-02-06 12:35:35 +0100
commit808883b430e869413046b87a12095068677fe383 (patch)
treedd53c0c2ce3c337a4e5946fe39a836681382c24c /src/huffman.c
parentdac46e69f6a7bfed290c7a1cf61b0fc932976d95 (diff)
reformat
Diffstat (limited to 'src/huffman.c')
-rw-r--r--src/huffman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/huffman.c b/src/huffman.c
index b751f77..d37ae98 100644
--- a/src/huffman.c
+++ b/src/huffman.c
@@ -1,4 +1,4 @@
-/* huffman compresion based on teeworlds/ddnet huffman */
+/* huffman compresion based on teeworlds/ddnet huffman */
/*{ https://github.com/teeworlds/teeworlds/blob/master/src/engine/shared/huffman.cpp } */
#include "../inc/huffman.h"
@@ -225,7 +225,7 @@ int decompresshuff(const char *inputbuff, int inputsize, char *outputbuff, int o
if (node->symbol == HUFF_EOF_SYMBOL)
return outputlen;
-
+
if (outputlen == outputsize)
return -1;