diff options
author | Paul Gilbert | 2013-12-24 09:50:42 +1100 |
---|---|---|
committer | Paul Gilbert | 2013-12-24 09:50:42 +1100 |
commit | 1af5a3b1b4174c2238b6d7ab81600eefe929dc9c (patch) | |
tree | dcbf100ef113f29aada8e3a9af1e72c00c3f06ac | |
parent | 4f9c900a039c2be64847720122382ef11090df2d (diff) | |
download | scummvm-rg350-1af5a3b1b4174c2238b6d7ab81600eefe929dc9c.tar.gz scummvm-rg350-1af5a3b1b4174c2238b6d7ab81600eefe929dc9c.tar.bz2 scummvm-rg350-1af5a3b1b4174c2238b6d7ab81600eefe929dc9c.zip |
VOYEUR: Fix for setting up viewport clipping rect
-rw-r--r-- | engines/voyeur/files.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |