poco: moved to github
[packages.git] / utils / psplash / patches / 001-hide-msgfield-and-progressbar.patch
1 diff -ruN psplash.x/psplash.c psplash/psplash.c
2 --- psplash.x/psplash.c 2009-05-12 10:11:25.000000000 +0200
3 +++ psplash/psplash.c   2009-05-12 10:24:09.000000000 +0200
4 @@ -276,17 +276,17 @@
5                          OWRT_IMG_RLE_PIXEL_DATA);
6  
7    /* Draw progress bar border */
8 -  psplash_fb_draw_image (fb, 
9 +  /* psplash_fb_draw_image (fb, 
10                          (fb->width  - BAR_IMG_WIDTH)/2, 
11                          fb->height - (fb->height/6), 
12                          BAR_IMG_WIDTH,
13                          BAR_IMG_HEIGHT,
14                          BAR_IMG_BYTES_PER_PIXEL,
15 -                        BAR_IMG_RLE_PIXEL_DATA);
16 +                        BAR_IMG_RLE_PIXEL_DATA); */
17  
18 -  psplash_draw_progress (fb, 0);
19 +  // psplash_draw_progress (fb, 0);
20  
21 -  psplash_draw_msg (fb, MSG);
22 +  // psplash_draw_msg (fb, MSG);
23  
24    psplash_main (fb, pipe_fd, 0);
25