fix self-inited fTransparentMode, closing #9788.

Signed-off-by: Philippe Houdoin <[email protected]>
This commit is contained in:
Murai Takashi
2013-05-24 10:16:49 +02:00
committed by Philippe Houdoin
parent 8683f5d4ee
commit 1cabed5eee
+1 -1
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)