Module: wine Branch: master Commit: 3a709fa5bbc7843c8112ba0ee1ff267b55b55e5d URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a709fa5bbc7843c8112ba0ee1...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Jun 9 13:18:58 2011 +0200
widl: Fix a typo in updating the type format offset for strings.
---
tools/widl/typegen.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 2cb8767..e07769c 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -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;