Author: manolo
Date: 2010-11-18 12:02:27 -0800 (Thu, 18 Nov 2010)
New Revision: 7875
Log:
Fixed STR 2449

Modified:
   branches/branch-1.3/src/Fl_PNG_Image.cxx

Modified: branches/branch-1.3/src/Fl_PNG_Image.cxx
===================================================================
--- branches/branch-1.3/src/Fl_PNG_Image.cxx    2010-11-18 20:00:01 UTC (rev 
7874)
+++ branches/branch-1.3/src/Fl_PNG_Image.cxx    2010-11-18 20:02:27 UTC (rev 
7875)
@@ -98,7 +98,7 @@
   else
     channels = 1;
 
-  int num_trans;
+  int num_trans = 0;
   png_get_tRNS(pp, info, 0, &num_trans, 0);
   if ((png_get_color_type(pp, info) & PNG_COLOR_MASK_ALPHA) || (num_trans != 
0))
       channels ++;

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to