diff options
author | Paul Gilbert | 2012-05-11 08:44:50 +1000 |
---|---|---|
committer | Paul Gilbert | 2012-05-11 08:44:50 +1000 |
commit | 724deb6b84b8a5f5a3aa96adc2a512c962f7081a (patch) | |
tree | dbae3811dfe14c39e75c782ada6f89b27ea52d42 /engines/tony/mpal/mpal.cpp | |
parent | 82361a3ea3efb9b6454eb4805e777cd4bfc3a0e3 (diff) | |
download | scummvm-rg350-724deb6b84b8a5f5a3aa96adc2a512c962f7081a.tar.gz scummvm-rg350-724deb6b84b8a5f5a3aa96adc2a512c962f7081a.tar.bz2 scummvm-rg350-724deb6b84b8a5f5a3aa96adc2a512c962f7081a.zip |
TONY: Bugfixes for showing the credits screen.
Diffstat (limited to 'engines/tony/mpal/mpal.cpp')
-rw-r--r-- | engines/tony/mpal/mpal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tony/mpal/mpal.cpp b/engines/tony/mpal/mpal.cpp index da736a138f..e82df11328 100644 --- a/engines/tony/mpal/mpal.cpp +++ b/engines/tony/mpal/mpal.cpp @@ -422,7 +422,7 @@ static int locGetOrderFromNum(uint32 nLoc) { static int msgGetOrderFromNum(uint32 nMsg) { int i; - LPMPALMSG msg=lpmmMsgs; + LPMPALMSG msg = lpmmMsgs; for (i = 0; i < nMsgs; i++, msg++) if (msg->wNum == nMsg) @@ -542,7 +542,7 @@ static char *DuplicateMessage(uint32 nMsgOrd) { origmsg = (const char *)GlobalLock(lpmmMsgs[nMsgOrd].hText); j = 0; - while (origmsg[j] != '\0' || origmsg[j+1] != '\0') + while (origmsg[j] != '\0' || origmsg[j + 1] != '\0') j++; j += 2; |