webservices: Fix write option mapping in write_type_struct_field.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
39b841d189
commit
2f2a23a9bd
|
@ -2954,7 +2954,11 @@ static HRESULT write_type_struct_field( struct writer *writer, const WS_FIELD_DE
|
|||
if (field_options & WS_FIELD_POINTER) option = WS_WRITE_NILLABLE_POINTER;
|
||||
else option = WS_WRITE_NILLABLE_VALUE;
|
||||
}
|
||||
else return E_INVALIDARG;
|
||||
else
|
||||
{
|
||||
if (field_options & WS_FIELD_POINTER) option = WS_WRITE_REQUIRED_POINTER;
|
||||
else option = WS_WRITE_REQUIRED_VALUE;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue