Mercurial > hg > dmlib
diff tools/libgfx.c @ 2078:b2f1ce24f81b
Be more informative when attempting to figure out broken PCX file.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 10 Dec 2018 15:41:58 +0200 |
parents | 3dac7a781317 |
children | a14286e2710e |
line wrap: on
line diff
--- a/tools/libgfx.c Mon Dec 10 14:50:17 2018 +0200 +++ b/tools/libgfx.c Mon Dec 10 15:41:58 2018 +0200 @@ -1259,7 +1259,8 @@ if (hdr.nplanes == 4 && hdr.bitsPerPlane == 4) { dmMsg(2, - "PCX: Probably invalid combination of nplanes and bpp, attempting to fix ..\n"); + "PCX: Probably invalid combination of nplanes=%d and bpp=%d, attempting to fix ..\n", + hdr.nplanes, hdr.bitsPerPlane); hdr.bitsPerPlane = 1; }