# HG changeset patch # User Matti Hamalainen # Date 1425264423 -7200 # Node ID 7bf42124819050184d5ca5ddd641e4dad4485df5 # Parent 21b0aedb7b5c03e6ce0ae453516168a8f310fda7 Cosmetics. diff -r 21b0aedb7b5c -r 7bf421248190 src/dmzlib.c --- a/src/dmzlib.c Mon Mar 02 04:46:34 2015 +0200 +++ b/src/dmzlib.c Mon Mar 02 04:47:03 2015 +0200 @@ -114,7 +114,7 @@ nextCode[i] = code; ctx->firstCode[i] = (Uint16) code; ctx->firstSymbol[i] = (Uint16) k; - code = (code + sizes[i]); + code += sizes[i]; if (sizes[i] && code - 1 >= (1 << i)) { @@ -239,6 +239,7 @@ return DMERR_OK; } + // Not resolved by fast table, so compute it the slow way return dmZLibHuffmanDecodeSlow(ctx, huff, val); }