fix self-inited fTransparentMode, closing #9788.

Signed-off-by: Philippe Houdoin <philippe.houdoin@gmail.com>
This commit is contained in:
Murai Takashi 2013-05-24 10:16:49 +02:00 committed by Philippe Houdoin
parent 8683f5d4ee
commit 1cabed5eee

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)