splash/Splash.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3535d658095ffa49ef8615d69843afa9c5ada061
Author: Albert Astals Cid <[email protected]>
Date:   Sat Mar 22 17:29:46 2014 +0100

    Make the test rect go to xMax, yMax not xMax-1,yMax-1
    
    I don't understand why the -1 is there and removing
    it actually fixes bug #76387

diff --git a/splash/Splash.cc b/splash/Splash.cc
index 6d4dd26..d9983b0 100644
--- a/splash/Splash.cc
+++ b/splash/Splash.cc
@@ -11,7 +11,7 @@
 // All changes made under the Poppler project to this file are licensed
 // under GPL version 2 or later
 //
-// Copyright (C) 2005-2013 Albert Astals Cid <[email protected]>
+// Copyright (C) 2005-2014 Albert Astals Cid <[email protected]>
 // Copyright (C) 2005 Marco Pesenti Gritti <[email protected]>
 // Copyright (C) 2010-2014 Thomas Freitag <[email protected]>
 // Copyright (C) 2010 Christian Feuersänger <[email protected]>
@@ -3826,7 +3826,7 @@ SplashError 
Splash::arbitraryTransformImage(SplashImageSource src, void *srcData
       yMax = t1;
     }
   }
-  clipRes = state->clip->testRect(xMin, yMin, xMax - 1, yMax - 1);
+  clipRes = state->clip->testRect(xMin, yMin, xMax, yMax);
   opClipRes = clipRes;
   if (clipRes == splashClipAllOutside) {
     return splashOk;
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to