aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Menshakov2009-12-12 12:47:03 +0000
committerVladimir Menshakov2009-12-12 12:47:03 +0000
commit476d52aab2af87bd188ac194c3d29953296ea0ed (patch)
treea358d45c9560e1320a1309e5cb8599caddbf766c
parentd10bb1036e993ca2d4105076b468dc06f46d426f (diff)
downloadscummvm-rg350-476d52aab2af87bd188ac194c3d29953296ea0ed.tar.gz
scummvm-rg350-476d52aab2af87bd188ac194c3d29953296ea0ed.tar.bz2
scummvm-rg350-476d52aab2af87bd188ac194c3d29953296ea0ed.zip
fixed typo in checking src rect height
svn-id: r46339
-rw-r--r--engines/teenagent/surface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/surface.cpp b/engines/teenagent/surface.cpp
index 1bc9cad332..d1ccb66494 100644
--- a/engines/teenagent/surface.cpp
+++ b/engines/teenagent/surface.cpp
@@ -67,7 +67,7 @@ Common::Rect Surface::render(Graphics::Surface *surface, int dx, int dy, bool mi
src_rect = Common::Rect(0, 0, w, h);
} else if (src_rect.right > w)
src_rect.right = w;
- else if (src_rect.bottom < h)
+ else if (src_rect.bottom > h)
src_rect.bottom = h;
if (zoom == 256) {