oleaut32: Don't rewrite name's hreftype.

This commit is contained in:
Andrey Turkin 2010-05-22 00:49:29 +04:00 committed by Alexandre Julliard
parent 61dfc28b75
commit 234afb88e8
1 changed files with 2 additions and 1 deletions

View File

@ -2239,7 +2239,8 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetFuncAndParamNames(
iter->name = offset;
namedata = This->typelib->typelib_segment_data[MSFT_SEG_NAME] + offset;
*((INT *)namedata) = This->typelib->typelib_typeinfo_offsets[This->typeinfo->typekind >> 16];
if (*((INT*)namedata) == -1)
*((INT *)namedata) = This->typelib->typelib_typeinfo_offsets[This->typeinfo->typekind >> 16];
len = iter->u.data[0]/4 - iter->u.data[5]*3;