summaryrefslogtreecommitdiff
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
parent98fa14bfd178df48a82897da87902c112ecafd50 (diff)
downloadrockbox-0025a97b95b55365869cb14a3b6bb116739a5b9e.tar.gz
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
-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)
298{ 298{
299 bool holdstatus=false; 299 bool holdstatus=false;
300 300
301 /* System font is 6 pixels wide */
302#if LCD_WIDTH >= (30*6)
301 lcd_puts(0, line++, "Press MENU+SELECT to reboot"); 303 lcd_puts(0, line++, "Press MENU+SELECT to reboot");
302 lcd_puts(0, line++, "then SELECT+PLAY for disk mode"); 304 lcd_puts(0, line++, "then SELECT+PLAY for disk mode");
305#else
306 lcd_puts(0, line++, "Press MENU+SELECT to");
307 lcd_puts(0, line++, "reboot then SELECT+PLAY");
308 lcd_puts(0, line++, "for disk mode");
309#endif
303 lcd_update(); 310 lcd_update();
304 311
305 while (1) { 312 while (1) {