Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#175 PNM's always saved as PPM

open
nobody
None
5
2009-06-09
2009-06-09
G. Myers
No

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.

Discussion

  • G. Myers
    G. Myers
    2009-06-09

    Patch for il_pnm.c

     
    Attachments