From 8238d2d16fd4381ebcc2b6d4420229391d863fdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 10 Dec 2008 08:29:19 +0000 Subject: better function-name (i couldn't remember what the autoabstraction_save() function was meant to do...) svn path=/trunk/externals/iem/iemguts/; revision=10434 --- src/autoabstraction.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/autoabstraction.c b/src/autoabstraction.c index 048dd9e..50be5a7 100644 --- a/src/autoabstraction.c +++ b/src/autoabstraction.c @@ -39,6 +39,7 @@ static char *version = "$Revision: 0.1 $"; /* this is the name of the filename that get's loaded as a default template for new abstractions */ static char*s_templatefilename="autoabstraction.template"; /* if the loading above fails, we resort to a simple default abstraction that automatically opens up */ +/* LATER: make the font-size the same as the one used by Pd */ static char*s_templatestring="#N canvas 0 0 450 300 10; #X vis 1;"; @@ -72,7 +73,7 @@ void class_set_extern_dir(t_symbol *s); static t_binbuf*s_bb=0; -static void autoabstraction_save(t_canvas*canvas, char*classname) { +static void autoabstraction_createpatch(t_canvas*canvas, char*classname) { if(!s_state) { /* autoabstraction turned off... */ return; @@ -109,7 +110,7 @@ static int autoabstraction_loader(t_canvas *canvas, char *classname) return(0); } - autoabstraction_save(canvas, classname); + autoabstraction_createpatch(canvas, classname); /* we always fail, because we want Pd to do the real opening of abstractions */ return 0; -- cgit v1.2.1