Commit 1b6b04e3 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

widl: Correct the condition when to use new code path which avoids writing…

widl: Correct the condition when to use new code path which avoids writing negative offsets in the pointer description.
parent 0e1b3815
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment