summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2006-07-18 01:10:51 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2006-07-18 01:10:51 +0000
commit846cfd4416dbe804e83ab9cd309093c49fa62129 (patch)
tree911f8f8886bf836b854a4f66995c544255bceada
parent924e8a92d117a7667c075451668df85fce9ebac0 (diff)
Allow non-JFIF JPEG images.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5260 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/fl_images_core.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_images_core.cxx b/src/fl_images_core.cxx
index 96d374c12..21f6f0856 100644
--- a/src/fl_images_core.cxx
+++ b/src/fl_images_core.cxx
@@ -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