widl: Fix a typo in updating the type format offset for strings.

This commit is contained in:
Alexandre Julliard 2011-06-09 13:18:58 +02:00
parent 211ed7be48
commit 3a709fa5bb
1 changed files with 2 additions and 2 deletions

View File

@ -984,8 +984,8 @@ static unsigned char get_parameter_fc( const type_t *type, const attr_list_t *at
if (is_declptr( type ) && get_pointer_fc( type, attrs, !is_return ) == RPC_FC_RP)
{
/* skip over pointer description straight to string description */
if (is_conformant_array( type )) typestring_offset += 4;
else typestring_offset += 2;
if (is_conformant_array( type )) *typestring_offset += 4;
else *typestring_offset += 2;
*flags |= IsSimpleRef;
}
break;