]> git.imager.perl.org - imager.git/blob - feat.c
- don't destroy image before creating it in error handling in bmp.c
[imager.git] / feat.c
1 #include "feat.h"
2
3 undef_int
4 i_has_format(char *frmt) {
5   int rc,i;
6   rc=0;
7   i=0;
8   while(i_format_list[i] != NULL) if ( !strcmp(frmt,i_format_list[i++]) ) rc=1;
9   return(rc);
10 }