summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-07-18 13:33:12 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-07-18 13:33:12 +0000
commit36c32ad328bf91078921f7364f1e5f062741db11 (patch)
tree463db88b9d1fc0b47170d0ac17ce0e8ee40c17d6 /apps
parent49bca7f97840842cd14c83a26b97a379e6c4df6c (diff)
downloadrockbox-36c32ad328bf91078921f7364f1e5f062741db11.tar.gz
rockbox-36c32ad328bf91078921f7364f1e5f062741db11.zip
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')
-rw-r--r--apps/debug_menu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 82d9ad513c..a4a399d616 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -2537,7 +2537,10 @@ static bool cpu_boost_log(void)
2537 str = cpu_boost_log_getlog_next(); 2537 str = cpu_boost_log_getlog_next();
2538 if (str) 2538 if (str)
2539 { 2539 {
2540 lcd_puts(0, j,str); 2540 if(strlen(str) > LCD_WIDTH/SYSFONT_WIDTH)
2541 lcd_puts_scroll(0, j, str);
2542 else
2543 lcd_puts(0, j,str);
2541 } 2544 }
2542 str = NULL; 2545 str = NULL;
2543 } 2546 }