aboutsummaryrefslogtreecommitdiff
path: root/split_path.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-30 03:38:27 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-30 03:38:27 +0000
commite97111ee9c743dbb05f0aeca799594b5c451c66f (patch)
tree2d3ae6a2c333e52b9b43a8c9e791634796074e6a /split_path.c
parentc44efa4f5c0ce85007d19eaa31a17e0281a9b3be (diff)
post version message using verbose(0)
svn path=/trunk/externals/hcs/; revision=15916
Diffstat (limited to 'split_path.c')
-rw-r--r--split_path.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/split_path.c b/split_path.c
index 2ee125b..1f5b960 100644
--- a/split_path.c
+++ b/split_path.c
@@ -13,8 +13,6 @@
static char *version = "$Revision: 1.1 $";
-t_int split_path_instance_count;
-
/* ------------------------ split_path ----------------------------- */
static t_class *split_path_class;
@@ -60,12 +58,6 @@ static void *split_path_new()
t_split_path *x = (t_split_path *)pd_new(split_path_class);
x->x_path_outlet = (t_outlet *)outlet_new(&x->x_obj, &s_symbol);
x->x_filename_outlet = (t_outlet *)outlet_new(&x->x_obj, &s_symbol);
- if(!split_path_instance_count)
- {
- post("[split_path] %s",version);
- post("\twritten by Hans-Christoph Steiner <hans@eds.org>");
- }
- split_path_instance_count++;
return (x);
}
@@ -74,6 +66,8 @@ void split_path_setup(void)
split_path_class = class_new(gensym("split_path"), (t_newmethod)split_path_new, 0,
sizeof(t_split_path), 0,0);
class_addsymbol(split_path_class,split_path_symbol);
+ verbose(0, "[split_path] %s",version);
+ verbose(0, "\twritten by Hans-Christoph Steiner <hans@eds.org>");
}