Skip to content
Snippets Groups Projects
Commit a0c0d269 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment