Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 181318
Collapse All | Expand All

(-)pngrtran.c.ori (-2 / +4 lines)
Lines 1293-1301 Link Here
1293
      if(rgb_error)
1293
      if(rgb_error)
1294
      {
1294
      {
1295
         png_ptr->rgb_to_gray_status=1;
1295
         png_ptr->rgb_to_gray_status=1;
1296
         if(png_ptr->transformations & PNG_RGB_TO_GRAY_WARN)
1296
         if((png_ptr->transformations & PNG_RGB_TO_GRAY) ==
1297
             PNG_RGB_TO_GRAY_WARN)
1297
            png_warning(png_ptr, "png_do_rgb_to_gray found nongray pixel");
1298
            png_warning(png_ptr, "png_do_rgb_to_gray found nongray pixel");
1298
         if(png_ptr->transformations & PNG_RGB_TO_GRAY_ERR)
1299
         if((png_ptr->transformations & PNG_RGB_TO_GRAY) ==
1300
             PNG_RGB_TO_GRAY_ERR)
1299
            png_error(png_ptr, "png_do_rgb_to_gray found nongray pixel");
1301
            png_error(png_ptr, "png_do_rgb_to_gray found nongray pixel");
1300
      }
1302
      }
1301
   }
1303
   }

Return to bug 181318