[PD-cvs] pd/src desire.c,1.1.2.95,1.1.2.96

Mathieu Bouchard matju at users.sourceforge.net
Mon Aug 7 07:54:14 CEST 2006


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

Modified Files:
      Tag: devel_0_39
	desire.c 
Log Message:
fixing deeply stupid bug introduced by no-one else than matju.


Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.95
retrieving revision 1.1.2.96
diff -C2 -d -r1.1.2.95 -r1.1.2.96
*** desire.c	2 Aug 2006 16:52:43 -0000	1.1.2.95
--- desire.c	7 Aug 2006 05:54:12 -0000	1.1.2.96
***************
*** 11648,11653 ****
  		/* just the "#N canvas" line, not the contents */
  		canvas_savecontainerto((t_canvas *)self,buf);
  	}
- 	c->c_savefn(self,buf);
  	binbuf_gettext(buf,&s,&n);
  	if (s[n-1]=='\n') n--;
--- 11648,11655 ----
  		/* just the "#N canvas" line, not the contents */
  		canvas_savecontainerto((t_canvas *)self,buf);
+ 		/* note: this does NOT handle the restore. */
+ 	} else { /* this was outside of the "else" for a while. why? I don't remember */
+ 		c->c_savefn(self,buf);
  	}
  	binbuf_gettext(buf,&s,&n);
  	if (s[n-1]=='\n') n--;





More information about the Pd-cvs mailing list