Commit a0c0d269 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

oleaut32: Use correct bitpattern if referenced type is not user defined.

This reduces the diff between the TLB file output by Wine and Windows XP when running the typelib test module.
parent 83335590
......@@ -1109,7 +1109,7 @@ static int ctl2_encode_typedesc(
mix_field = typedata[0]>>16;
break;
default:
mix_field = 0x7fff;
mix_field = ((typedata[0] >> 16) == 0x7fff) ? 0x7fff : 0x7ffe;
break;
}
}
......
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