From 36c32ad328bf91078921f7364f1e5f062741db11 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Sat, 18 Jul 2009 13:33:12 +0000 Subject: 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 --- apps/debug_menu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps') 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) 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; } -- cgit v1.2.3