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

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

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

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