From kde-commits Fri Jul 17 22:32:30 2009 From: Maks Orlovich Date: Fri, 17 Jul 2009 22:32:30 +0000 To: kde-commits Subject: branches/KDE/4.3/kdelibs/khtml/imload/decoders Message-Id: <1247869950.445242.2634.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=124786996428752 SVN commit 998546 by orlovich: Merged revision:r998545 | orlovich | 2009-07-17 18:31:07 -0400 (Fri, 17 Jul 2009) | 5 lines Make this work with libjpeg7 as well. Credit to Daniel Winter for providing me the information to fix this and testing the fix. BUG: 198779 M +1 -1 jpegloader.cpp --- branches/KDE/4.3/kdelibs/khtml/imload/decoders/jpegloader.cpp #998545:998546 @@ -324,7 +324,7 @@ scaleDown *= 2; } - cinfo.scale_denom = scaleDown; + cinfo.scale_denom *= scaleDown; if (scaleDown > 8) { // Still didn't fit... Abort.