From 2a2800b528010320ca504a39106806ec21f02203 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Wed, 12 Oct 2016 16:52:49 +0200 Subject: pdbox: fix bug shown by new gcc warning Change-Id: Ife308a3090f9bc62f2e98d2d979fdf393c22054d --- apps/plugins/pdbox/PDa/src/g_template.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugins/pdbox') 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)); } -- cgit