Skip to content

Commit 50e8172

Browse files
authored
Merge pull request #1 from Affonso-Gui/fix-subst-count
Fix count in substitute
2 parents e269c7e + ad64a6b commit 50e8172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/c/sequence.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ register pointer argv[];
814814
while (pushcount-->0) seq=cons(ctx,vpop(),seq);
815815
return(seq);}
816816
else {
817-
pushcount+=pushsequence(ctx,seq,end,MAX_SEQUENCE_COUNT);
817+
pushcount+=pushsequence(ctx,seq,pushcount,MAX_SEQUENCE_COUNT);
818818
return(makesequence(ctx,pushcount,classof(seq)));}}
819819

820820
pointer NSUBSTITUTE(ctx,n,argv)

0 commit comments

Comments
 (0)