summaryrefslogtreecommitdiff
path: root/recipes/psplash/files/logo-math.patch
diff options
context:
space:
mode:
authorEric BENARD <eric@eukrea.com>2010-04-24 00:12:06 +0000
committerKhem Raj <raj.khem@gmail.com>2010-05-16 01:41:50 -0700
commit31402cd6f9d1e7887926bfde465bb25b07f6dbea (patch)
treeaa754d4a0ae372d290d33728af66138945301488 /recipes/psplash/files/logo-math.patch
parent4d76ed290327312bfe1cfd001b71fbf6f8d9c0c8 (diff)
psplash : update to latest SVN
- update to latest SVN - update file names : psplash-hand-img.h -> psplash-poky-img.h - fix comments - fix psplash-18bpp.patch (missing break in the switch) Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/psplash/files/logo-math.patch')
-rw-r--r--recipes/psplash/files/logo-math.patch26
1 files changed, 17 insertions, 9 deletions
diff --git a/recipes/psplash/files/logo-math.patch b/recipes/psplash/files/logo-math.patch
index 21467af0ec..2ebfd7cd4c 100644
--- a/recipes/psplash/files/logo-math.patch
+++ b/recipes/psplash/files/logo-math.patch
@@ -1,15 +1,23 @@
upstream: http://bugzilla.openedhand.com/show_bug.cgi?id=801
comment:
Do better math when showing logo vs progressbar.
+---
+ psplash.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
---- 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 @@
+diff --git a/psplash.c b/psplash.c
+index 54a65cf..7a52e05 100644
+--- a/psplash.c
++++ b/psplash.c
+@@ -269,7 +269,7 @@ main (int argc, char** argv)
/* 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,
+ (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,
+--
+1.6.3.3
+