summaryrefslogtreecommitdiff
path: root/packages/psplash/files/logo-math.patch
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2007-12-03 12:07:30 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2007-12-03 12:07:30 +0000
commit9d2b1056a5121ac78c64f51fbdc34f31ca6b092a (patch)
tree0297067debb7dc53f4afa1b6e2ac2661dead3e52 /packages/psplash/files/logo-math.patch
parent3012411202b9e8fea77e548b25a6e4eafece9867 (diff)
parentf18c67d5ef73c90a17648feeaf14ce8ebaca1eb7 (diff)
merge of '97d055550d55ba933c423fa657f7d63d18b81ed6'
and '9e08f0a0ea353d01da3e8da16012b96b9e4e2fa2'
Diffstat (limited to 'packages/psplash/files/logo-math.patch')
-rw-r--r--packages/psplash/files/logo-math.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/psplash/files/logo-math.patch b/packages/psplash/files/logo-math.patch
new file mode 100644
index 0000000000..87574b1855
--- /dev/null
+++ b/packages/psplash/files/logo-math.patch
@@ -0,0 +1,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,