Commit 28e92027 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

widl: Decrease is_object_interface after usage.

parent 9afec542
...@@ -1267,7 +1267,7 @@ static void write_header_stmts(FILE *header, const statement_list_t *stmts, cons ...@@ -1267,7 +1267,7 @@ static void write_header_stmts(FILE *header, const statement_list_t *stmts, cons
write_header_stmts(header, type_iface_get_stmts(iface), iface, FALSE); write_header_stmts(header, type_iface_get_stmts(iface), iface, FALSE);
write_rpc_interface_end(header, iface); write_rpc_interface_end(header, iface);
} }
if (is_object(iface)) is_object_interface++; if (is_object(iface)) is_object_interface--;
} }
else if (type_get_type(stmt->u.type) == TYPE_COCLASS) else if (type_get_type(stmt->u.type) == TYPE_COCLASS)
write_coclass(header, stmt->u.type); write_coclass(header, stmt->u.type);
......
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