"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gd_filename.c" between
libgd-2.3.2.tar.gz and libgd-2.3.3.tar.gz

About: LibGD is a library for the dynamic creation of images by programmers (PNG, JPEG, GIF, WebP, XPM, BMP support).

gd_filename.c  (libgd-2.3.2):gd_filename.c  (libgd-2.3.3)
skipping to change at line 88 skipping to change at line 88
#endif #endif
#ifdef HAVE_LIBWEBP #ifdef HAVE_LIBWEBP
{".webp", gdImageCreateFromWebp, gdImageWebp, NULL}, {".webp", gdImageCreateFromWebp, gdImageWebp, NULL},
#endif #endif
#ifdef HAVE_LIBXPM #ifdef HAVE_LIBXPM
{".xpm", NULL, NULL, gdImageCreateFromXpm}, {".xpm", NULL, NULL, gdImageCreateFromXpm},
#endif #endif
{NULL, NULL, NULL} {NULL, NULL, NULL, NULL}
}; };
static const struct FileType * static const struct FileType *
ftype(const char *filename) { ftype(const char *filename) {
int n; int n;
char *ext; char *ext;
/* Find the file extension (i.e. the last period in the string. */ /* Find the file extension (i.e. the last period in the string. */
ext = strrchr(filename, '.'); ext = strrchr(filename, '.');
if (!ext) return NULL; if (!ext) return NULL;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)