Mercurial > hg > dmlib
changeset 1377:e274a7e6dff9
Cosmetic.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 24 Sep 2017 17:50:02 +0300 |
parents | 67ae449cf9e1 |
children | c465860e44ed |
files | tools/lib64gfx.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/lib64gfx.c Sun Sep 24 17:47:48 2017 +0300 +++ b/tools/lib64gfx.c Sun Sep 24 17:50:02 2017 +0300 @@ -306,7 +306,6 @@ static BOOL fmtDrazLaceSetLaceType(DMC64Image *img, const struct _DMC64EncDecOp *op, const Uint8 *buf, const size_t len) { (void) len; - img->laceType = buf[op->offs] ? D64_ILACE_RES : D64_ILACE_COLOR; return TRUE; } @@ -387,6 +386,7 @@ static int fmtDecodeFormatXX2(DMC64Image *img, const Uint8 *buf, const size_t len, const DMC64ImageFormat *fmt) { int res; + // If there is only data for less than XX2_MIN_SIZE bytes, // allocate a buffer of that size and copy data there. // Otherwise allocate len bytes.