Mercurial > hg > dmlib
comparison src/dmres.c @ 1122:320dcfd1bd75
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Mar 2015 04:38:39 +0200 |
parents | 043b5942fdb6 |
children | 7842e977d3df |
comparison
equal
deleted
inserted
replaced
1121:043b5942fdb6 | 1122:320dcfd1bd75 |
---|---|
410 } | 410 } |
411 | 411 |
412 // Initialize decompression structures | 412 // Initialize decompression structures |
413 if ((ret = dmZLibInitInflate(&ctx)) != DMERR_OK) | 413 if ((ret = dmZLibInitInflate(&ctx)) != DMERR_OK) |
414 goto out; | 414 goto out; |
415 | |
415 ctx.inBuffer = ctx.inBufferStart = inBuf; | 416 ctx.inBuffer = ctx.inBufferStart = inBuf; |
416 ctx.inBufferEnd = inBuf + node->length; | 417 ctx.inBufferEnd = inBuf + node->length; |
417 ctx.outBuffer = ctx.outBufferStart = handle->rawData; | 418 ctx.outBuffer = ctx.outBufferStart = handle->rawData; |
418 ctx.outBufferEnd = handle->rawData + node->size; | 419 ctx.outBufferEnd = handle->rawData + node->size; |
419 ctx.expandable = FALSE; | 420 ctx.expandable = FALSE; |