Mercurial > hg > dmlib
changeset 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 | 838ed06b3927 |
children | 9b6027d51f76 |
files | tools/libgfx.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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; }