[PD-cvs] pd/src desire.c,1.1.2.187,1.1.2.188

Mathieu Bouchard matju at users.sourceforge.net
Tue Oct 31 12:30:31 CET 2006


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

Modified Files:
      Tag: devel_0_39
	desire.c 
Log Message:
fixed bug in saving "whichlabel" as part of a floatatom or symbolatom.


Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.187
retrieving revision 1.1.2.188
diff -C2 -d -r1.1.2.187 -r1.1.2.188
*** desire.c	30 Oct 2006 23:46:05 -0000	1.1.2.187
--- desire.c	31 Oct 2006 11:30:26 -0000	1.1.2.188
***************
*** 6459,6464 ****
  	t_symbol *sel = t==A_SYMBOL? gensym("symbolatom") : gensym("floatatom");
  	binbuf_addv(b, "ssii", gensym("#X"), sel, (t_int)x->te_xpix, (t_int)x->te_ypix);
! 	/* incredibly weird stuff happens if doing binbuf_addv "ifffsss". know why? */
! 	binbuf_addv(b, "ifff", (t_int)x->te_width, g->min, g->max, g->wherelabel);
  	binbuf_addv(b, "sss", gatom_escapit(g->label), gatom_escapit(g->rcv), gatom_escapit(g->snd));
      } else { /* comment */
--- 6459,6463 ----
  	t_symbol *sel = t==A_SYMBOL? gensym("symbolatom") : gensym("floatatom");
  	binbuf_addv(b, "ssii", gensym("#X"), sel, (t_int)x->te_xpix, (t_int)x->te_ypix);
! 	binbuf_addv(b, "iffi", (t_int)x->te_width, g->min, g->max, (t_int)g->wherelabel);
  	binbuf_addv(b, "sss", gatom_escapit(g->label), gatom_escapit(g->rcv), gatom_escapit(g->snd));
      } else { /* comment */





More information about the Pd-cvs mailing list