From 4639d37609f62bae8d0bcffc5a2e64c79f2659a7 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 4 Apr 2014 09:35:18 -0400 Subject: MADS: Fixes for properly displaying the text of a message dialog --- engines/mads/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/mads/font.cpp') diff --git a/engines/mads/font.cpp b/engines/mads/font.cpp index 294139c3dd..ba10099184 100644 --- a/engines/mads/font.cpp +++ b/engines/mads/font.cpp @@ -141,7 +141,7 @@ int Font::writeString(MSurface *surface, const Common::String &msg, const Common if (width > 0) xEnd = MIN((int)surface->w, pt.x + width); else - xEnd = surface->w - pt.x; + xEnd = surface->w; int x = pt.x; int y = pt.y; -- cgit v1.2.3