diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2016-10-12 16:52:49 +0200 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2016-10-12 16:52:49 +0200 |
commit | 2a2800b528010320ca504a39106806ec21f02203 (patch) | |
tree | 04b79830760a3f206497d64c8b21d777dde0c149 | |
parent | e6687c11f25c9f6358676bb2aff0781bebf1ac79 (diff) |
pdbox: fix bug shown by new gcc warning
Change-Id: Ife308a3090f9bc62f2e98d2d979fdf393c22054d
-rw-r--r-- | apps/plugins/pdbox/PDa/src/g_template.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/src/g_template.c b/apps/plugins/pdbox/PDa/src/g_template.c index 0245158fce..f2770d4d5f 100644 --- a/apps/plugins/pdbox/PDa/src/g_template.c +++ b/apps/plugins/pdbox/PDa/src/g_template.c @@ -630,7 +630,9 @@ static void *gtemplate_new(t_symbol *s, int argc, t_atom *argv) (void) s; #endif if (argc >= 1) + { argc--; argv++; + } return (gtemplate_donew(canvas_makebindsym(sym), argc, argv)); } |