aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/mactext.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-02 10:21:49 +0200
committerEugene Sandulenko2017-08-04 21:54:19 +0200
commit2e458671f6317a2a8195b9a328cf796add5d81fd (patch)
tree7666a3d9c8e833419a492255fb5920c827b788a9 /graphics/macgui/mactext.cpp
parentfe8ef60e08446c725c4bdedcf152ab60f49c0f17 (diff)
downloadscummvm-rg350-2e458671f6317a2a8195b9a328cf796add5d81fd.tar.gz
scummvm-rg350-2e458671f6317a2a8195b9a328cf796add5d81fd.tar.bz2
scummvm-rg350-2e458671f6317a2a8195b9a328cf796add5d81fd.zip
GRAPHICS: MACGUI: Fix copy/paste bug in MacText
Diffstat (limited to 'graphics/macgui/mactext.cpp')
-rw-r--r--graphics/macgui/mactext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index ad3a3a31bf..59e7d67634 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -347,7 +347,7 @@ void MacText::draw(ManagedSurface *g, int x, int y, int w, int h, int xoff, int
}
g->blitFrom(*_surface, Common::Rect(MIN<int>(_surface->w, x), MIN<int>(_surface->h, y),
- MIN<int>(_surface->w, x + w), MIN<int>(_surface->h, y + w)),
+ MIN<int>(_surface->w, x + w), MIN<int>(_surface->h, y + h)),
Common::Point(xoff, yoff));
}