summaryrefslogtreecommitdiff
path: root/packages/psplash/files/logo-math.patch
blob: 87574b18554367a22b9846b4514a4e0d53e3e7d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Do better math when showing logo vs progressbar.

--- psplash/psplash.c.org	2007-09-22 20:33:36.000000000 +0300
+++ psplash/psplash.c	2007-12-01 21:27:08.000000000 +0200
@@ -258,7 +258,7 @@
   /* Draw the OH logo  */
   psplash_fb_draw_image (fb, 
 			 (fb->width  - HAND_IMG_WIDTH)/2, 
-			 (fb->height - HAND_IMG_HEIGHT)/2, 
+			 ((fb->height * 5) / 6 - HAND_IMG_HEIGHT)/2, 
 			 HAND_IMG_WIDTH,
 			 HAND_IMG_HEIGHT,
 			 HAND_IMG_BYTES_PER_PIXEL,