From 2e458671f6317a2a8195b9a328cf796add5d81fd Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 2 Aug 2017 10:21:49 +0200 Subject: GRAPHICS: MACGUI: Fix copy/paste bug in MacText --- graphics/macgui/mactext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics') 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(_surface->w, x), MIN(_surface->h, y), - MIN(_surface->w, x + w), MIN(_surface->h, y + w)), + MIN(_surface->w, x + w), MIN(_surface->h, y + h)), Common::Point(xoff, yoff)); } -- cgit v1.2.3