pdbox: Reduced (visible) precision of numbers shown in the GUI.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26549 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Wincent Balin 2010-06-04 18:07:01 +00:00
parent 97fef6b0c5
commit 2464eaeba1

View file

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