[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/khtml/imload/decoders
From:       Maks Orlovich <maksim () kde ! org>
Date:       2009-07-17 22:31:08
Message-ID: 1247869868.207718.1741.nullmailer () svn ! kde ! org
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic