From 28e92027b18ee9ba48725fe153a527942f02aecc Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 6 Jul 2011 16:00:31 +0200 Subject: [PATCH] widl: Decrease is_object_interface after usage. --- tools/widl/header.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/widl/header.c b/tools/widl/header.c index 6e288d483e8..756999506c9 100644 --- a/tools/widl/header.c +++ b/tools/widl/header.c @@ -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);