# HG changeset patch # User pontscho # Date 1011356817 0 # Node ID 1c9bca9154fd6a19ceeb91083c6cddeeaf86f79d # Parent 0c809c541aa1f05d63baf1b333e599bbd54c4bc9 '40bit' - es png nincs is :) diff -r 0c809c541aa1 -r 1c9bca9154fd Gui/bitmap/png/png.c --- a/Gui/bitmap/png/png.c Fri Jan 18 11:05:29 2002 +0000 +++ b/Gui/bitmap/png/png.c Fri Jan 18 12:26:57 2002 +0000 @@ -113,7 +113,7 @@ } bf->Width=raw.Width; bf->Height=raw.Height; - bf->BPP=( raw.Depth * raw.Components ) + raw.Alpha; + bf->BPP=( raw.Depth * raw.Components ); bf->ImageSize=bf->Width * bf->Height * ( bf->BPP / 8 ); if ( ( bf->Image=malloc( bf->ImageSize ) ) == NULL ) {