Fix for PR#1230, make ``.for'' loops iterate backwards.
This commit is contained in:
parent
53961e2108
commit
c2d4b0268c
@ -174,7 +174,7 @@ For_Eval (line)
|
||||
#define ADDWORD() \
|
||||
Buf_AddBytes(buf, ptr - wrd, (Byte *) wrd), \
|
||||
Buf_AddByte(buf, (Byte) '\0'), \
|
||||
Lst_AtEnd(forLst, (ClientData) Buf_GetAll(buf, &varlen)), \
|
||||
Lst_AtFront(forLst, (ClientData) Buf_GetAll(buf, &varlen)), \
|
||||
Buf_Destroy(buf, FALSE)
|
||||
|
||||
for (ptr = sub; *ptr && isspace((unsigned char) *ptr); ptr++)
|
||||
|
Loading…
Reference in New Issue
Block a user