From 05ff9dfeb1a72cd1bab4b01e86e2a938141e4777 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 16 Sep 2011 21:08:54 +0200 Subject: [PATCH] widl: Include string formats in the element description for complex arrays. --- tools/widl/typegen.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 5a2252539bf..a3c12f255d8 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -2336,6 +2336,11 @@ static void write_array_element_type(FILE *file, const type_t *type, ref->typestring_offset, tfsoff); return; } + if (cont_is_complex && is_string_type(NULL, elem)) + { + write_string_tfs(file, NULL, elem, TYPE_CONTEXT_CONTAINER, NULL, tfsoff); + return; + } if (!is_string_type(NULL, elem) && (type_get_type(ref) == TYPE_BASIC || type_get_type(ref) == TYPE_ENUM)) {