Skip to content

Commit

Permalink
Allow non-JFIF JPEG images.
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5260 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
michaelrsweet committed Jul 18, 2006
1 parent 924e8a9 commit 846cfd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fl_images_core.cxx
Expand Up @@ -89,7 +89,7 @@ fl_check_images(const char *name, // I - Filename
#ifdef HAVE_LIBJPEG
if (memcmp(header, "\377\330\377", 3) == 0 &&
// Start-of-Image
header[3] >= 0xe0 && header[3] <= 0xef)
header[3] >= 0xc0 && header[3] <= 0xef)
// APPn for JPEG file
return new Fl_JPEG_Image(name);
#endif // HAVE_LIBJPEG
Expand Down

0 comments on commit 846cfd4

Please sign in to comment.