[PD-cvs] externals/unauthorized/scrolllist scrolllist.c,1.2,1.3
Yves Degoyon
sevyves at users.sourceforge.net
Mon Nov 21 17:47:26 CET 2005
Update of /cvsroot/pure-data/externals/unauthorized/scrolllist
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2742
Modified Files:
scrolllist.c
Log Message:
fixed crash with empty list
Index: scrolllist.c
===================================================================
RCS file: /cvsroot/pure-data/externals/unauthorized/scrolllist/scrolllist.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** scrolllist.c 19 Nov 2005 15:57:52 -0000 1.2
--- scrolllist.c 21 Nov 2005 16:47:24 -0000 1.3
***************
*** 774,777 ****
--- 774,778 ----
return;
}
+ if ( x->x_nitems == 0 ) return;
iout = (t_int)fseeked % (x->x_nitems);
More information about the Pd-cvs
mailing list