summaryrefslogtreecommitdiff
path: root/packages/psplash/files/logo-math.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-12-03 19:44:05 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-12-03 19:44:05 +0000
commit4dc92f941e3afe632a0f08909713a0279ef9d2d5 (patch)
treefa4f4c3fdf0c926d4e0bcbf1c808b6f13519c9ca /packages/psplash/files/logo-math.patch
parenta59628bb28f80da4e0e9c1dbd17b851ce4146a17 (diff)
parent899350269f90ab3a4bd66136b1c351d43683bafd (diff)
merge of '49fb48a813e1e0d599f74dd7a809922ab71939b1'
and '6fe2cd0b60b675a1e3118d25934adb4693f3b8ed'
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,