summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/pdbox/pdbox-gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pdbox/pdbox-gui.c b/apps/plugins/pdbox/pdbox-gui.c
index f22999ff7c..696b083b0d 100644
--- a/apps/plugins/pdbox/pdbox-gui.c
+++ b/apps/plugins/pdbox/pdbox-gui.c
@@ -578,8 +578,8 @@ void pd_gui_draw_custom(struct pd_widget* wg, unsigned int widgets)
rb->lcd_vline(wg->x,
wg->y,
wg->y + wg->h);
- char sbuf[12];
- ftoan(wg->value, sbuf, 12);
+ char sbuf[8];
+ ftoan(wg->value, sbuf, 8);
rb->lcd_putsxy(wg->x + 2, wg->y + 2, sbuf);
break;