summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/src/kernel/tqjpegio.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-09-27 00:43:15 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-09-27 00:43:15 -0500
commitad81c1f6d02d362df0747a8aebe20bdf7bf6d3d9 (patch)
tree9bda95ccca6a8ea45734320126d6ecff82631524 /experimental/tqtinterface/qt4/src/kernel/tqjpegio.cpp
parent078391d07776b101e80323b02214f66dd943c9dc (diff)
downloadtde-ad81c1f6d02d362df0747a8aebe20bdf7bf6d3d9.tar.gz
tde-ad81c1f6d02d362df0747a8aebe20bdf7bf6d3d9.zip
Commit these two GIT hashes to the TQt4 branch
078391d07776b101e80323b02214f66dd943c9dc 437b7e59d85fffbd584ecdd50e9a52a5940e6414
Diffstat (limited to 'experimental/tqtinterface/qt4/src/kernel/tqjpegio.cpp')
-rw-r--r--experimental/tqtinterface/qt4/src/kernel/tqjpegio.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/experimental/tqtinterface/qt4/src/kernel/tqjpegio.cpp b/experimental/tqtinterface/qt4/src/kernel/tqjpegio.cpp
index dbaa301f9..1f3ffd88b 100644
--- a/experimental/tqtinterface/qt4/src/kernel/tqjpegio.cpp
+++ b/experimental/tqtinterface/qt4/src/kernel/tqjpegio.cpp
@@ -203,13 +203,13 @@ void read_jpeg_image(TQImageIO* iio)
struct my_jpeg_source_mgr *iod_src = new my_jpeg_source_mgr(iio);
struct my_error_mgr jerr;
+ cinfo.err = jpeg_std_error(&jerr);
+ jerr.error_exit = my_error_exit;
+
jpeg_create_decompress(&cinfo);
cinfo.src = iod_src;
- cinfo.err = jpeg_std_error(&jerr);
- jerr.error_exit = my_error_exit;
-
if (!setjmp(jerr.setjmp_buffer)) {
#if defined(TQ_OS_UNIXWARE)
(void) jpeg_read_header(&cinfo, B_TRUE);