From 1af5a3b1b4174c2238b6d7ab81600eefe929dc9c Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 24 Dec 2013 09:50:42 +1100 Subject: VOYEUR: Fix for setting up viewport clipping rect --- engines/voyeur/files.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/voyeur/files.cpp b/engines/voyeur/files.cpp index 6f44806acd..9dff1f0ea7 100644 --- a/engines/voyeur/files.cpp +++ b/engines/voyeur/files.cpp @@ -916,7 +916,7 @@ void ViewPortResource::setupViewPort(PictureResource *page, Common::Rect *clipRe } xDiff = r.right - clipRect->right; - yDiff = r.right - clipRect->right; + yDiff = r.bottom - clipRect->bottom; if (xDiff > 0) r.setWidth(xDiff <= r.width() ? r.width() - xDiff : 0); -- cgit v1.2.3