From 5ae753abf969a3a727320ef21569a2b0b145a406 Mon Sep 17 00:00:00 2001 From: Matthias Kupfer Date: Wed, 19 Nov 2008 12:00:23 +0000 Subject: [PATCH] revert to revision 37390 svn path=/trunk/; revision=37454 --- reactos/tools/widl/typegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/tools/widl/typegen.c b/reactos/tools/widl/typegen.c index f89f13fb9b8..795d70537ad 100644 --- a/reactos/tools/widl/typegen.c +++ b/reactos/tools/widl/typegen.c @@ -3091,7 +3091,7 @@ size_t get_size_procformatstring(const statement_list_t *stmts, type_pred_t pred size += get_size_procformatstring(stmt->u.lib->stmts, pred) - 1; continue; } - else if (stmt->type != STMT_TYPE && stmt->u.type->type != RPC_FC_IP) + else if (stmt->type != STMT_TYPE || stmt->u.type->type != RPC_FC_IP) continue; iface = stmt->u.type;