aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/psplash/psplash-omap3pandora/logo-math.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/psplash/psplash-omap3pandora/logo-math.patch')
-rw-r--r--recipes/psplash/psplash-omap3pandora/logo-math.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/psplash/psplash-omap3pandora/logo-math.patch b/recipes/psplash/psplash-omap3pandora/logo-math.patch
new file mode 100644
index 0000000000..21467af0ec
--- /dev/null
+++ b/recipes/psplash/psplash-omap3pandora/logo-math.patch
@@ -0,0 +1,15 @@
+upstream: http://bugzilla.openedhand.com/show_bug.cgi?id=801
+comment:
+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,