Commit 2612f61f authored by Alex Villacís Lasso's avatar Alex Villacís Lasso Committed by Alexandre Julliard

Fix failure to notice the use of a GIF palette index greater or equal

to 128 for transparency.
parent 13175a3f
......@@ -1071,7 +1071,7 @@ static HRESULT WINAPI OLEPictureImpl_Load(IPersistStream* iface,IStream*pStm) {
eb = si->ExtensionBlocks + i;
if (eb->Function == 0xF9 && eb->ByteCount == 4) {
if ((eb->Bytes[0] & 1) == 1) {
transparent = eb->Bytes[3];
transparent = (unsigned char)eb->Bytes[3];
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment