tools/widl: Fix behaviour when both lcid and retval arguments are present.
This commit is contained in:
parent
5d898e3ebe
commit
a6181cb3b2
|
@ -1515,15 +1515,15 @@ static HRESULT add_func_desc(msft_typeinfo_t* typeinfo, var_t *func, int index)
|
|||
paramdata[2] = paramflags;
|
||||
typedata[3] += decoded_size << 16;
|
||||
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
if(lcid_retval_count == 1)
|
||||
typedata[4] |= 0x4000;
|
||||
else if(lcid_retval_count == 2)
|
||||
typedata[4] |= 0x8000;
|
||||
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
if(typeinfo->funcs_allocated == 0) {
|
||||
typeinfo->funcs_allocated = 10;
|
||||
typeinfo->func_indices = xmalloc(typeinfo->funcs_allocated * sizeof(int));
|
||||
|
|
Loading…
Reference in New Issue