summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-12-17 10:23:51 +0000
committerDave Chapman <dave@dchapman.com>2006-12-17 10:23:51 +0000
commit0025a97b95b55365869cb14a3b6bb116739a5b9e (patch)
tree285d810fcd2123e1133bcccb72f59d7e552197da /bootloader
parent98fa14bfd178df48a82897da87902c112ecafd50 (diff)
downloadrockbox-0025a97b95b55365869cb14a3b6bb116739a5b9e.tar.gz
rockbox-0025a97b95b55365869cb14a3b6bb116739a5b9e.tar.bz2
rockbox-0025a97b95b55365869cb14a3b6bb116739a5b9e.zip
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
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/ipod.c7
1 files changed, 7 insertions, 0 deletions
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) {