Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

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