aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/font.cpp')
-rw-r--r--engines/mads/font.cpp2
1 files changed, 1 insertions, 1 deletions
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;