From 0025a97b95b55365869cb14a3b6bb116739a5b9e Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 17 Dec 2006 10:23:51 +0000 Subject: [PATCH] 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 --- bootloader/ipod.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bootloader/ipod.c b/bootloader/ipod.c index aa4d5ec73e..f274c82364 100644 --- a/bootloader/ipod.c +++ b/bootloader/ipod.c @@ -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) {