From kde-commits Fri Jul 17 22:31:08 2009 From: Maks Orlovich Date: Fri, 17 Jul 2009 22:31:08 +0000 To: kde-commits Subject: KDE/kdelibs/khtml/imload/decoders Message-Id: <1247869868.207718.1741.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=124786987628656 SVN commit 998545 by orlovich: 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 --- trunk/KDE/kdelibs/khtml/imload/decoders/jpegloader.cpp #998544:998545 @@ -324,7 +324,7 @@ scaleDown *= 2; } - cinfo.scale_denom = scaleDown; + cinfo.scale_denom *= scaleDown; if (scaleDown > 8) { // Still didn't fit... Abort.