[PD-cvs] pd/src desire.c,1.1.2.217.2.187,1.1.2.217.2.188

Mathieu Bouchard matju at users.sourceforge.net
Fri Aug 3 18:41:15 CEST 2007


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv498

Modified Files:
      Tag: desiredata
	desire.c 
Log Message:
make index meaningful: actually use next_index and increment it.


Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.217.2.187
retrieving revision 1.1.2.217.2.188
diff -C2 -d -r1.1.2.217.2.187 -r1.1.2.217.2.188
*** desire.c	3 Aug 2007 15:49:00 -0000	1.1.2.217.2.187
--- desire.c	3 Aug 2007 16:41:10 -0000	1.1.2.217.2.188
***************
*** 87,90 ****
--- 87,91 ----
  	self->obs = 0;
  	self->visual = new t_visual(1);
+ 	self->index = 0;
  	return self;
  }
***************
*** 2060,2063 ****
--- 2061,2065 ----
      gobj_setcanvas(y,x);
      y->g_next = 0;
+     y->dix->index = x->next_index++;
      if (!x->list) x->list = y; else {
  	//if (x->next_add<0) {





More information about the Pd-cvs mailing list