]> git.pld-linux.org Git - packages/kde4-kdebase-workspace.git/blob - kde4-kdebase-workspace-libpng14.patch
- rel 5
[packages/kde4-kdebase-workspace.git] / kde4-kdebase-workspace-libpng14.patch
1 --- ksplash/ksplashx/qpngio.cpp.orig    2010-01-29 16:27:02.398253472 +0100
2 +++ ksplash/ksplashx/qpngio.cpp 2010-01-29 16:39:33.557014806 +0100
3 @@ -151,7 +151,7 @@
4                 image.setColor( i, qRgba(c,c,c,0xff) );
5             }
6             if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) {
7 -               const int g = info_ptr->trans_values.gray;
8 +               const int g = info_ptr->trans_color.gray;
9                 if (g < ncols) {
10                     image.setAlphaBuffer(true);
11                     image.setColor(g, image.color(g) & RGB_MASK);
12 @@ -179,7 +179,7 @@
13                     info_ptr->palette[i].red,
14                     info_ptr->palette[i].green,
15                     info_ptr->palette[i].blue,
16 -                   info_ptr->trans[i]
17 +                   info_ptr->trans_alpha[i]
18                     )
19                 );
20                 i++;
This page took 0.038255 seconds and 3 git commands to generate.