summaryrefslogtreecommitdiffstats
path: root/firmware/panic.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-08-18 03:55:55 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-08-18 03:55:55 +0000
commitb035fee1551b611ff6b1336c588680871298c68d (patch)
tree773d1cfd2866434b855d6c0c591b1862abc900b7 /firmware/panic.c
parent3ebb836b52d1e5b3aed1aa74afac9a11b76ff8d5 (diff)
downloadrockbox-b035fee1551b611ff6b1336c588680871298c68d.tar.gz
rockbox-b035fee1551b611ff6b1336c588680871298c68d.tar.bz2
rockbox-b035fee1551b611ff6b1336c588680871298c68d.zip
it is mildly useful to reset the viewport to the full screen for the panic screen....
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22396 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/panic.c')
-rw-r--r--firmware/panic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/panic.c b/firmware/panic.c
index 8d74fd9ebe..0e575e0114 100644
--- a/firmware/panic.c
+++ b/firmware/panic.c
@@ -69,6 +69,7 @@ void panicf( const char *fmt, ...)
lcd_clear_display();
lcd_setfont(FONT_SYSFIXED);
+ lcd_set_viewport(NULL);
lcd_puts(1, y++, (unsigned char *)"*PANIC*");
{
/* wrap panic line */