1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-13 23:27:12 +00:00

condition and increment reversed in for-loop.

This commit is contained in:
Nick Briggs 2017-05-28 19:35:13 -07:00
parent 349b2566da
commit a6f00921ca

View File

@ -287,7 +287,7 @@ LispPTR LCFindVarIndex(register LispPTR iv, register LispPTR object) {
{
register int i;
for (i = 0; i++; (iNames = cdr(iNames)) != NIL_PTR) {
for (i = 0; (iNames = cdr(iNames)) != NIL_PTR; i++) {
if (car(iNames) == iv) {
ce->iNames = objptr->iNames;
ce->iv = iv;