1
0
Fork 0
forked from len0rd/rockbox

pdbox: fix bug shown by new gcc warning

Change-Id: Ife308a3090f9bc62f2e98d2d979fdf393c22054d
This commit is contained in:
Frank Gevaerts 2016-10-12 16:52:49 +02:00
parent e6687c11f2
commit 2a2800b528

View file

@ -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));
}