aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/tony/gfxcore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp
index 0c331cc0e9..0241d96af1 100644
--- a/engines/tony/gfxcore.cpp
+++ b/engines/tony/gfxcore.cpp
@@ -198,7 +198,7 @@ bool RMGfxSourceBuffer::clip2D(int &x1, int &y1, int &u, int &v, int &width, int
if (y1 + height - 1 > desth - 1)
height = desth - y1;
- return true;
+ return (width > 1 && height > 1);
}