summaryrefslogtreecommitdiff
path: root/lodepng.cpp
diff options
context:
space:
mode:
authorLode <lvandeve@gmail.com>2016-01-24 20:27:52 +0100
committerLode <lvandeve@gmail.com>2016-01-24 20:27:52 +0100
commit9e9b36c1ed44612f0ca49e04cbb3d774dd87e2c7 (patch)
treef8180647526f71ebdde177e20beccfd98f9fe3f6 /lodepng.cpp
parent20b1e8f8038504a7d712ee5f0d836f6da6ec43ee (diff)
various updates
Diffstat (limited to 'lodepng.cpp')
-rw-r--r--lodepng.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lodepng.cpp b/lodepng.cpp
index 8e6e368..057e750 100644
--- a/lodepng.cpp
+++ b/lodepng.cpp
@@ -1768,7 +1768,7 @@ static unsigned deflateDynamic(ucvector* out, size_t* bp, Hash* hash,
else
{
if(!uivector_resize(&lz77_encoded, datasize)) ERROR_BREAK(83 /*alloc fail*/);
- for(i = datapos; i < dataend; ++i) lz77_encoded.data[i-datapos] = data[i]; /*no LZ77, but still will be Huffman compressed*/
+ for(i = datapos; i < dataend; ++i) lz77_encoded.data[i - datapos] = data[i]; /*no LZ77, but still will be Huffman compressed*/
}
if(!uivector_resizev(&frequencies_ll, 286, 0)) ERROR_BREAK(83 /*alloc fail*/);