[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.316,1.317
Jonathan Gray
khalek at users.sourceforge.net
Tue Oct 21 03:17:02 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/bs2 build_display.cpp,1.35,1.36 controls.cpp,1.33,1.34 icons.cpp,1.15,1.16 interpreter.cpp,1.18,1.19 interpreter.h,1.10,1.11 logic.cpp,1.22,1.23 logic.h,1.7,1.8 save_rest.cpp,1.28,1.29 speech.cpp,1.32,1.33 startup.cpp,1.23,1.24 sword2.cpp,1.61,1.62 walker.cpp,1.17,1.18
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon charset.cpp,1.17,1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv16661
Modified Files:
simon.cpp
Log Message:
fix shadow'd variable, the single letter variable names in the simon code are rather scary....
Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.316
retrieving revision 1.317
diff -u -d -r1.316 -r1.317
--- simon.cpp 21 Oct 2003 06:35:19 -0000 1.316
+++ simon.cpp 21 Oct 2003 09:33:49 -0000 1.317
@@ -2806,10 +2806,10 @@
// 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 @@
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;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/bs2 build_display.cpp,1.35,1.36 controls.cpp,1.33,1.34 icons.cpp,1.15,1.16 interpreter.cpp,1.18,1.19 interpreter.h,1.10,1.11 logic.cpp,1.22,1.23 logic.h,1.7,1.8 save_rest.cpp,1.28,1.29 speech.cpp,1.32,1.33 startup.cpp,1.23,1.24 sword2.cpp,1.61,1.62 walker.cpp,1.17,1.18
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon charset.cpp,1.17,1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list