summaryrefslogtreecommitdiff
path: root/apps/screens.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/screens.c')
-rw-r--r--apps/screens.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/screens.c b/apps/screens.c
index be2744f05c..28d9a48869 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -773,8 +773,11 @@ void splash(int ticks, /* how long the splash is displayed */
773 if(y > (LCD_HEIGHT-h)) 773 if(y > (LCD_HEIGHT-h))
774 /* STOP */ 774 /* STOP */
775 break; 775 break;
776 if(center) 776 if(center) {
777 x = (LCD_WIDTH-widths[line])/2; 777 x = (LCD_WIDTH-widths[line])/2;
778 if(x < 0)
779 x = 0;
780 }
778 else 781 else
779 x=0; 782 x=0;
780 } 783 }