[Scummvm-cvs-logs] CVS: tools descumm-common.cpp,1.12,1.13
Max Horn
fingolfin at users.sourceforge.net
Fri Oct 1 13:58:27 CEST 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm gfx.h,1.88,1.89 gfx.cpp,2.355,2.356 camera.cpp,2.29,2.30
- Next message: [Scummvm-cvs-logs] CVS: scummvm/gui ListWidget.cpp,1.37,1.38 ListWidget.h,1.22,1.23 launcher.cpp,1.99,1.100 launcher.h,1.18,1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28903
Modified Files:
descumm-common.cpp
Log Message:
update comment
Index: descumm-common.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm-common.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- descumm-common.cpp 1 Oct 2004 20:09:31 -0000 1.12
+++ descumm-common.cpp 1 Oct 2004 20:50:56 -0000 1.13
@@ -217,8 +217,9 @@
if (cur != p->to)
return false; /* We have no prevoius if that is exiting right at the end of this goto */
- /* Don't jump out of previous blocks. This test is stronger than the one in
- maybeAddIf. ( >= vs > ) */
+ // Don't jump out of previous blocks. In addition, don't jump "onto"
+ // the end of a while loop, as that would lead to incorrect output.
+ // This test is stronger than the one in maybeAddIf.
for (i = 0, p = block_stack; i < num_block_stack - 1; i++, p++) {
if (to > p->to || (to == p->to && p->isWhile))
return false;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm gfx.h,1.88,1.89 gfx.cpp,2.355,2.356 camera.cpp,2.29,2.30
- Next message: [Scummvm-cvs-logs] CVS: scummvm/gui ListWidget.cpp,1.37,1.38 ListWidget.h,1.22,1.23 launcher.cpp,1.99,1.100 launcher.h,1.18,1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list