From e05374aae945bcfc6d962ed0d7b2774b77987e1d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 13 Jul 2010 11:26:37 +0000 Subject: [PATCH] psplash: Apply logo centering patch from Paul Sokolovsky --- psplash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/psplash.c b/psplash.c index 54a65cf..2eaa11e 100644 --- a/psplash.c +++ b/psplash.c @@ -266,10 +266,10 @@ main (int argc, char** argv) /* Clear the background with #ecece1 */ psplash_fb_draw_rect (fb, 0, 0, fb->width, fb->height, 0xec, 0xec, 0xe1); - /* Draw the OH logo */ + /* Draw the Poky logo */ psplash_fb_draw_image (fb, (fb->width - POKY_IMG_WIDTH)/2, - (fb->height - POKY_IMG_HEIGHT)/2, + ((fb->height * 5) / 6 - POKY_IMG_HEIGHT)/2, POKY_IMG_WIDTH, POKY_IMG_HEIGHT, POKY_IMG_BYTES_PER_PIXEL, -- 2.7.4