aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/mpal/mpal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tony/mpal/mpal.cpp')
-rw-r--r--engines/tony/mpal/mpal.cpp4
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;