diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-02-19 03:11:23 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-02-19 03:11:23 +0000 |
commit | bda7b198aeae366fddf9476ef5aa3a760f4c580f (patch) | |
tree | 60b0a9c3856b39f375a41a7352fb130c6ec22602 /logpost.c | |
parent | d3343f17baae406ee342f2a99379a1d0fa6040e8 (diff) |
reformat code to match Pd style by running 'astyle --style=ansi *.c'
svn path=/trunk/externals/log/; revision=15995
Diffstat (limited to 'logpost.c')
-rw-r--r-- | logpost.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -28,13 +28,13 @@ static t_symbol* args2symbol(int argc, t_atom *argv) static void logpost_bang(t_logpost *x) { - logpost(x, (const int)x->level, "%s%sbang", + logpost(x, (const int)x->level, "%s%sbang", x->tag->s_name, (*x->tag->s_name ? ": " : "")); } static void logpost_pointer(t_logpost *x, t_gpointer *gp) { - logpost(x, (const int)x->level, "%s%s(pointer %lx)", + logpost(x, (const int)x->level, "%s%s(pointer %lx)", x->tag->s_name, (*x->tag->s_name ? ": " : ""), gp); } @@ -48,7 +48,7 @@ static void logpost_anything(t_logpost *x, t_symbol *s, int argc, t_atom *argv) { t_symbol* output = args2symbol(argc, argv); logpost(x, (const int)x->level, "%s%s%s %s", - x->tag->s_name, (*x->tag->s_name ? ": " : ""), + x->tag->s_name, (*x->tag->s_name ? ": " : ""), s->s_name, output->s_name); } @@ -66,7 +66,8 @@ static void *logpost_new(t_symbol *sel, int argc, t_atom *argv) x->level = atom_getfloatarg(0, argc, argv); if (argc > 1) { - argc--; argv++; // lose the level arg + argc--; + argv++; // lose the level arg x->tag = args2symbol(argc, argv); } floatinlet_new(&x->x_obj, &x->level); |