widl: Correct the condition when to use new code path which avoids writing negative offsets in the pointer description.

This commit is contained in:
Dmitry Timoshkov 2014-04-03 13:57:13 +09:00 committed by Alexandre Julliard
parent 0e1b381503
commit 1b6b04e3a8
1 changed files with 1 additions and 1 deletions

View File

@ -3596,7 +3596,7 @@ static unsigned int write_type_tfs(FILE *file, int indent,
else
ref_context = context;
if (is_string_type(attrs, type) && is_conformant_array(ref))
if (is_string_type(attrs, ref))
{
if (context != TYPE_CONTEXT_CONTAINER_NO_POINTERS)
write_pointer_tfs(file, attrs, type, *typeformat_offset + 4, context, typeformat_offset);