diff options
| author | Manolo Gouy <Manolo> | 2010-11-18 20:02:27 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-11-18 20:02:27 +0000 |
| commit | faed6e5ef72fd312ec320341c7be096409e0ad23 (patch) | |
| tree | 2f5698eaa26b7e99b734d504fbd01e14ef85b205 /src | |
| parent | 1e77c19688a76f96813d76b68323a6030aed8230 (diff) | |
Fixed STR 2449
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7875 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_PNG_Image.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_PNG_Image.cxx b/src/Fl_PNG_Image.cxx index 5efe6857f..2a6d0ebc6 100644 --- a/src/Fl_PNG_Image.cxx +++ b/src/Fl_PNG_Image.cxx @@ -98,7 +98,7 @@ Fl_PNG_Image::Fl_PNG_Image(const char *png) // I - File to read 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 ++; |
