From 6ae2a95a8c8aec3ed820c0d02590adf01b567c33 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 29 Aug 2005 19:39:02 +0000 Subject: This is the text for the previous commit. Fixed reading of corrupt Jpegs. The previous fix would work somewhat on VC6, but should not have worked... . The new fix looks unfamiliar, but seems to work fine. Thanks for the patch to Natevw git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_JPEG_Image.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_JPEG_Image.cxx b/src/Fl_JPEG_Image.cxx index 2be83211c..a3eda8498 100644 --- a/src/Fl_JPEG_Image.cxx +++ b/src/Fl_JPEG_Image.cxx @@ -164,7 +164,7 @@ Fl_JPEG_Image::Fl_JPEG_Image(const char *jpeg) // I - File to load jpeg_calc_output_dimensions(&dinfo); - w(dinfo.output_width); + w(dinfo.output_width); h(dinfo.output_height); d(dinfo.output_components); -- cgit v1.2.3