aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/font.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-04-04 09:35:18 -0400
committerPaul Gilbert2014-04-04 09:35:18 -0400
commit4639d37609f62bae8d0bcffc5a2e64c79f2659a7 (patch)
tree2e8e16ac1f44899b40f5e1978e0244ab612c31e3 /engines/mads/font.cpp
parent366e6ae38f9916277096f93bed393edd0cd83e45 (diff)
downloadscummvm-rg350-4639d37609f62bae8d0bcffc5a2e64c79f2659a7.tar.gz
scummvm-rg350-4639d37609f62bae8d0bcffc5a2e64c79f2659a7.tar.bz2
scummvm-rg350-4639d37609f62bae8d0bcffc5a2e64c79f2659a7.zip
MADS: Fixes for properly displaying the text of a message dialog
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;