From 2e95ac70b29ee420aebf532ae1b28e1803b91b0a Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 3 Jan 2012 20:54:25 +1100 Subject: MORTEVIELLE: Fix character indexing in writeg() --- engines/mortevielle/sprint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/mortevielle') diff --git a/engines/mortevielle/sprint.cpp b/engines/mortevielle/sprint.cpp index b35bff9dc1..e6a172b821 100644 --- a/engines/mortevielle/sprint.cpp +++ b/engines/mortevielle/sprint.cpp @@ -81,7 +81,7 @@ void writeg(Common::String l, int c) xo = xo + 1; yo = yo + 1; for (x = 1; x <= (int)l.size(); x ++) { - affcar(gd, xo, yo, cecr, ord(l[x])); + affcar(gd, xo, yo, cecr, ord(l[x - 1])); xo = xo + i; } show_mouse(); -- cgit v1.2.3