summaryrefslogtreecommitdiff
path: root/archival/bz/huffman.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/bz/huffman.c')
-rw-r--r--archival/bz/huffman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/bz/huffman.c b/archival/bz/huffman.c
index f016c96..3f80c99 100644
--- a/archival/bz/huffman.c
+++ b/archival/bz/huffman.c
@@ -133,7 +133,7 @@ void BZ2_hbMakeCodeLengths(uint8_t *len,
}
AssertH(nHeap < (BZ_MAX_ALPHA_SIZE+2), 2001);
-
+
while (nHeap > 1) {
n1 = heap[1]; heap[1] = heap[nHeap]; nHeap--; DOWNHEAP1(heap, weight, nHeap);
n2 = heap[1]; heap[1] = heap[nHeap]; nHeap--; DOWNHEAP1(heap, weight, nHeap);
@@ -160,7 +160,7 @@ void BZ2_hbMakeCodeLengths(uint8_t *len,
if (j > maxLen)
tooLong = True;
}
-
+
if (!tooLong)
break;