widl: Decrease is_object_interface after usage.

This commit is contained in:
Marcus Meissner 2011-07-06 16:00:31 +02:00 committed by Alexandre Julliard
parent 9afec542e0
commit 28e92027b1
1 changed files with 1 additions and 1 deletions

View File

@ -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_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)
write_coclass(header, stmt->u.type);