In il_pnm.c, ILstring FName is always assigned to NULL. In iSavePnmInternal(), this causes logic which checks the filename extension to not complete correctly, thus the PNM type is always assigned to the default value of Type = IL_PPM_ASCII. This bug appears to have been introduced in SVN r1310. The attached patch eliminates the problem.
Log in to post a comment.