Added file size to output comments

This commit is contained in:
Laurence Bank 2020-12-03 08:26:56 -05:00
parent adfb3f7153
commit 3d981b7b3f

2
main.c
View File

@ -657,7 +657,7 @@ int main(int argc, char *argv[])
ImageInfo(ihandle, iSize, szInfo); // get image info
p = (unsigned char *)malloc(0x10000); // allocate 64k to play with
GetLeafName(argv[1], szLeaf);
printf("//\n// %s\n//\n", szLeaf); // comment header with filename
printf("//\n// %s\n// Data size = %d bytes\n//\n", szLeaf, iSize); // comment header with filename
if (szInfo[0])
printf("%s", szInfo);
FixName(szLeaf); // remove unusable characters