summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-08-29 19:39:02 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-08-29 19:39:02 +0000
commit6ae2a95a8c8aec3ed820c0d02590adf01b567c33 (patch)
tree7a25ecde04cc4f85e723d5c6968c910df496465b
parentf5c58cc8d3177af94f45a397c58a630981ab12a4 (diff)
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
-rw-r--r--src/Fl_JPEG_Image.cxx2
1 files changed, 1 insertions, 1 deletions
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);