GIFTranslator: fix incorrectly initialized fTransparentMode

Signed-off-by: Philippe Houdoin <philippe.houdoin@gmail.com>
This commit is contained in:
Murai Takashi 2013-05-23 06:07:04 +09:00 committed by Philippe Houdoin
parent 415962e25f
commit 4e370115ac

View File

@ -244,7 +244,7 @@ SavePalette::SavePalette(BBitmap *bitmap, int32 maxSizeInBits)
fSize(0),
fSizeInBits(0),
fMode(OPTIMAL_PALETTE),
fTransparentMode(fTransparentMode),
fTransparentMode(NO_TRANSPARENCY),
fTransparentIndex(-1),
fBackgroundIndex(0),
fFatalError(pal == NULL)