summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pdbox/PDa/src/g_array.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/g_array.c')
-rw-r--r--apps/plugins/pdbox/PDa/src/g_array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pdbox/PDa/src/g_array.c b/apps/plugins/pdbox/PDa/src/g_array.c
index b6870b6117..c98e640e94 100644
--- a/apps/plugins/pdbox/PDa/src/g_array.c
+++ b/apps/plugins/pdbox/PDa/src/g_array.c
@@ -150,7 +150,7 @@ t_garray *graph_array(t_glist *gl, t_symbol *s, t_symbol *templatesym,
{
char buf[40];
#ifdef ROCKBOX
- snprintf(buf, sizeof(buf)-1, "array%d", ++gcount);
+ snprintf(buf, sizeof(buf), "array%d", ++gcount);
#else
sprintf(buf, "array%d", ++gcount);
#endif