[PD-cvs] SF.net SVN: pure-data:[10739] branches/pd-extended/0.41/pd/src/x_connective .c

eighthave at users.sourceforge.net eighthave at users.sourceforge.net
Thu Feb 5 05:45:56 CET 2009


Revision: 10739
          http://pure-data.svn.sourceforge.net/pure-data/?rev=10739&view=rev
Author:   eighthave
Date:     2009-02-05 04:45:56 +0000 (Thu, 05 Feb 2009)

Log Message:
-----------
- backported tiny bugfix for makefilename default from 0.42.4
http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/pd/src/x_connective.c?sortby=date&r1=10737&r2=10736&pathrev=10737

Modified Paths:
--------------
    branches/pd-extended/0.41/pd/src/x_connective.c

Modified: branches/pd-extended/0.41/pd/src/x_connective.c
===================================================================
--- branches/pd-extended/0.41/pd/src/x_connective.c	2009-02-05 04:41:12 UTC (rev 10738)
+++ branches/pd-extended/0.41/pd/src/x_connective.c	2009-02-05 04:45:56 UTC (rev 10739)
@@ -1244,7 +1244,8 @@
 static void *makefilename_new(t_symbol *s)
 {
     t_makefilename *x = (t_makefilename *)pd_new(makefilename_class);
-    if (!s || !s->s_name) s = gensym("file.%d");
+    if (!s || !*s->s_name)
+        s = gensym("file.%d");
     outlet_new(&x->x_obj, &s_symbol);
     x->x_format = s;
     x->x_accept = A_NULL;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list