aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorJonathan Gray2003-10-21 09:33:49 +0000
committerJonathan Gray2003-10-21 09:33:49 +0000
commita1f9ed293c659dcb5ddf89ddf6f2701fda663815 (patch)
treeb46279b62d9199a2c222e8ce3497dffc2dc27de8 /simon
parent4e2ffd8d9ed31ae2d9b42707d0c92cfc31aad3a7 (diff)
downloadscummvm-rg350-a1f9ed293c659dcb5ddf89ddf6f2701fda663815.tar.gz
scummvm-rg350-a1f9ed293c659dcb5ddf89ddf6f2701fda663815.tar.bz2
scummvm-rg350-a1f9ed293c659dcb5ddf89ddf6f2701fda663815.zip
fix shadow'd variable, the single letter variable names in the simon code are rather scary....
svn-id: r10925
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 9ec2a877fb..243c7e24cc 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -2806,10 +2806,10 @@ restart:;
// do_backspace
if (name_len != 0) {
int x;
- byte b;
+ byte m;
name_len--;
- b = name[name_len];
+ m = name[name_len];
if (_language == 20) //Hebrew
x = 8;
@@ -2818,7 +2818,7 @@ restart:;
name[name_len] = 0;
- o_unk_132_helper_2(_fcs_ptr_array_3[5], x, b);
+ o_unk_132_helper_2(_fcs_ptr_array_3[5], x, m);
}
} else if (i >= 32 && name_len != 17) {
name[name_len++] = i;