By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 337
Collapse All | Expand All

(-)src/gvcore/pngformattype.cpp (-2 / +10 lines)
Lines 245-251 Link Here
245
		image.setColor( i, qRgba(c,c,c,0xff) );
245
		image.setColor( i, qRgba(c,c,c,0xff) );
246
	    }
246
	    }
247
	    if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) {
247
	    if ( png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ) {
248
		const int g = info_ptr->trans_values.gray;
248
#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=4 )
249
		const int g = info_ptr->trans_color.gray;
250
#else
251
 		const int g = info_ptr->trans_values.gray;
252
#endif
249
		if (g < ncols) {
253
		if (g < ncols) {
250
		    image.setAlphaBuffer(TRUE);
254
		    image.setAlphaBuffer(TRUE);
251
		    image.setColor(g, image.color(g) & RGB_MASK);
255
		    image.setColor(g, image.color(g) & RGB_MASK);
Lines 273-279 Link Here
273
		    info_ptr->palette[i].red,
277
		    info_ptr->palette[i].red,
274
		    info_ptr->palette[i].green,
278
		    info_ptr->palette[i].green,
275
		    info_ptr->palette[i].blue,
279
		    info_ptr->palette[i].blue,
276
		    info_ptr->trans[i]
280
#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=4 )
281
		    info_ptr->trans_alpha[i]
282
#else
283
 		    info_ptr->trans[i]
284
#endif
277
		    )
285
		    )
278
		);
286
		);
279
		i++;
287
		i++;

Return to bug 337