[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:21:00 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 26e55aca3a577353abedf0e6cd95263a37af0a60
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Jan 6 21:59:14 2004 +0000

    I meant kMax not kMin here.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5860 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/kwq/WebCoreBridge.mm b/WebCore/kwq/WebCoreBridge.mm
index 0fd31d1..b4c3222 100644
--- a/WebCore/kwq/WebCoreBridge.mm
+++ b/WebCore/kwq/WebCoreBridge.mm
@@ -493,11 +493,11 @@ static BOOL nowPrinting(WebCoreBridge *self)
     for (float i = 0; i < docHeight; i += currPageHeight) {
         float proposedBottom = kMin(docHeight, i + printHeight);
         _part->adjustPageHeight(&proposedBottom, i, proposedBottom, i);
-        currPageHeight = kMin(1.0f, proposedBottom - i);
-		for (float j = 0; j < docWidth; j += printWidth) {
-			NSValue* val = [NSValue valueWithRect: NSMakeRect(j, i, printWidth, currPageHeight)];
-			[pages addObject: val];
-		}
+        currPageHeight = kMax(1.0f, proposedBottom - i);
+        for (float j = 0; j < docWidth; j += printWidth) {
+            NSValue* val = [NSValue valueWithRect: NSMakeRect(j, i, printWidth, currPageHeight)];
+            [pages addObject: val];
+        }
     }
     [self _setupRootForPrinting:NO];
     

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list