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.
This commit is contained in:
Andrew Eikum 2010-08-18 12:21:11 -05:00 committed by Alexandre Julliard
parent 8333559036
commit a0c0d2693d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}