Restrict the width of some displayed messages (fixes display on Minis and Nano).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11782 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2006-12-17 10:23:51 +00:00
parent 98fa14bfd1
commit 0025a97b95
1 changed files with 7 additions and 0 deletions

View File

@ -298,8 +298,15 @@ void fatal_error(void)
{
bool holdstatus=false;
/* System font is 6 pixels wide */
#if LCD_WIDTH >= (30*6)
lcd_puts(0, line++, "Press MENU+SELECT to reboot");
lcd_puts(0, line++, "then SELECT+PLAY for disk mode");
#else
lcd_puts(0, line++, "Press MENU+SELECT to");
lcd_puts(0, line++, "reboot then SELECT+PLAY");
lcd_puts(0, line++, "for disk mode");
#endif
lcd_update();
while (1) {