diff options
| author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-07-18 13:33:12 +0000 |
|---|---|---|
| committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-07-18 13:33:12 +0000 |
| commit | 36c32ad328bf91078921f7364f1e5f062741db11 (patch) | |
| tree | 463db88b9d1fc0b47170d0ac17ce0e8ee40c17d6 /apps/debug_menu.c | |
| parent | 49bca7f97840842cd14c83a26b97a379e6c4df6c (diff) | |
| download | rockbox-36c32ad328bf91078921f7364f1e5f062741db11.zip rockbox-36c32ad328bf91078921f7364f1e5f062741db11.tar.gz rockbox-36c32ad328bf91078921f7364f1e5f062741db11.tar.bz2 rockbox-36c32ad328bf91078921f7364f1e5f062741db11.tar.xz | |
Make the CPU boost log scroll if lines are too big.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21958 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
| -rw-r--r-- | apps/debug_menu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 82d9ad5..a4a399d 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -2537,7 +2537,10 @@ static bool cpu_boost_log(void) str = cpu_boost_log_getlog_next(); if (str) { - lcd_puts(0, j,str); + if(strlen(str) > LCD_WIDTH/SYSFONT_WIDTH) + lcd_puts_scroll(0, j, str); + else + lcd_puts(0, j,str); } str = NULL; } |