widl: Write array pointers as FC_OP pointers if appropriate.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47285
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-05-29 00:24:08 -05:00 committed by Alexandre Julliard
parent 55a0ec420f
commit 8e7fefe3d8
1 changed files with 1 additions and 2 deletions

View File

@ -3607,8 +3607,7 @@ static unsigned int write_type_tfs(FILE *file, int indent,
context != TYPE_CONTEXT_CONTAINER_NO_POINTERS) context != TYPE_CONTEXT_CONTAINER_NO_POINTERS)
{ {
int ptr_type; int ptr_type;
ptr_type = get_pointer_fc(type, attrs, ptr_type = get_pointer_fc_context(type, attrs, context);
context == TYPE_CONTEXT_TOPLEVELPARAM);
if (ptr_type != FC_RP || type_array_is_decl_as_ptr(type)) if (ptr_type != FC_RP || type_array_is_decl_as_ptr(type))
{ {
unsigned int absoff = type->typestring_offset; unsigned int absoff = type->typestring_offset;