summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pdbox/PDa/src/g_all_guis.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/g_all_guis.c')
-rw-r--r--apps/plugins/pdbox/PDa/src/g_all_guis.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/apps/plugins/pdbox/PDa/src/g_all_guis.c b/apps/plugins/pdbox/PDa/src/g_all_guis.c
index 165c9ac14f..c2002a7a4d 100644
--- a/apps/plugins/pdbox/PDa/src/g_all_guis.c
+++ b/apps/plugins/pdbox/PDa/src/g_all_guis.c
@@ -203,8 +203,8 @@ t_symbol *iemgui_new_dogetname(t_iemgui *iemgui, int indx, t_atom *argv)
{
char str[80];
#ifdef ROCKBOX
- snprintf(str, sizeof(str)-1,
- "%d", (int)atom_getintarg(indx, 100000, argv));
+ snprintf(str, sizeof(str), "%d",
+ (int) atom_getintarg(indx, 100000, argv));
#else
sprintf(str, "%d", (int)atom_getintarg(indx, 100000, argv));
#endif
@@ -623,8 +623,7 @@ int iemgui_dialog(t_iemgui *iemgui, t_symbol **srl, int argc, t_atom *argv)
else if(IS_A_FLOAT(argv,7))
{
#ifdef ROCKBOX
- snprintf(str, sizeof(str)-1,
- "%d", (int)atom_getintarg(7, argc, argv));
+ snprintf(str, sizeof(str), "%d", (int) atom_getintarg(7, argc, argv));
#else
sprintf(str, "%d", (int)atom_getintarg(7, argc, argv));
#endif
@@ -635,8 +634,7 @@ int iemgui_dialog(t_iemgui *iemgui, t_symbol **srl, int argc, t_atom *argv)
else if(IS_A_FLOAT(argv,8))
{
#ifdef ROCKBOX
- snprintf(str, sizeof(str)-1,
- "%d", (int)atom_getintarg(8, argc, argv));
+ snprintf(str, sizeof(str), "%d", (int) atom_getintarg(8, argc, argv));
#else
sprintf(str, "%d", (int)atom_getintarg(8, argc, argv));
#endif
@@ -647,8 +645,7 @@ int iemgui_dialog(t_iemgui *iemgui, t_symbol **srl, int argc, t_atom *argv)
else if(IS_A_FLOAT(argv,9))
{
#ifdef ROCKBOX
- snprintf(str, sizeof(str)-1,
- "%d", (int)atom_getintarg(9, argc, argv));
+ snprintf(str, sizeof(str), "%d", (int) atom_getintarg(9, argc, argv));
#else
sprintf(str, "%d", (int)atom_getintarg(9, argc, argv));
#endif