diff options
author | Wincent Balin <wincent@rockbox.org> | 2010-06-04 18:07:01 +0000 |
---|---|---|
committer | Wincent Balin <wincent@rockbox.org> | 2010-06-04 18:07:01 +0000 |
commit | 2464eaeba16819017072fd0739bb770e22a92b73 (patch) | |
tree | f80ca9192975ac7ad4ed3848b386141fd519e2b1 | |
parent | 97fef6b0c5db7e2bb5f4cabe98a3d2b885c54945 (diff) |
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
-rw-r--r-- | apps/plugins/pdbox/pdbox-gui.c | 4 |
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; |