fix red.
authoruchida <uchida@a1c6a512-1295-4272-9138-f99709370657>
Sat, 26 Jun 2010 12:27:43 +0000 (26 12:27 +0000)
committeruchida <uchida@a1c6a512-1295-4272-9138-f99709370657>
Sat, 26 Jun 2010 12:27:43 +0000 (26 12:27 +0000)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27143 a1c6a512-1295-4272-9138-f99709370657

apps/plugins/text_viewer/tv_display.c

index 253bb0b..8d85ae2 100644 (file)
@@ -234,7 +234,9 @@ void tv_end_display(void)
 
 void tv_clear_display(void)
 {
+#if LCD_DEPTH > 1
     rb->lcd_set_backdrop(NULL);
+#endif
     display->clear_viewport();
 }