aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-12-10 08:29:19 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-12-10 08:29:19 +0000
commit8238d2d16fd4381ebcc2b6d4420229391d863fdd (patch)
tree76185e24a23cee97f70f75743dbc3c931218f6b3 /src
parent83c45b4b7f9942050d2183d1c3bc414dc7558832 (diff)
better function-name (i couldn't remember what the autoabstraction_save() function was meant to do...)
svn path=/trunk/externals/iem/iemguts/; revision=10434
Diffstat (limited to 'src')
-rw-r--r--src/autoabstraction.c5
1 files 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;