# HG changeset patch # User Matti Hamalainen # Date 1544449318 -7200 # Node ID b2f1ce24f81b9185d758ba30a8d78dc63f6ba4ad # Parent 838ed06b3927673808441e1ee7af22420ed90493 Be more informative when attempting to figure out broken PCX file. diff -r 838ed06b3927 -r b2f1ce24f81b tools/libgfx.c --- 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; }