[PD] vista & win7 support ?

patko colet.patrice at free.fr
Fri May 14 20:36:35 CEST 2010


----- "Hans-Christoph Steiner" <hans at at.or.at> a écrit :

> Arg, this stuff is maddening. If you look at scalar_properties() in  
> g_scalar.c, you'll see Miller does the opposite with that resize, the 
> 
> +1 is in the new size, not the old.  I think I'll try it like that.
> 
>          binbuf_add(bb, argc, argv);
>          binbuf_gettext(bb, &buf, &bufsize);
>          buf = t_resizebytes(buf, bufsize, bufsize+1);
>          buf[bufsize] = 0;
>          x->x_sym = gensym(buf);
>          binbuf_free(bb);


no crash, no extra character, this seem to be the good method




More information about the Pd-list mailing list