From bc5c507d54aab2077c5d20982ba5ee4da4f95323 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Sun, 16 Nov 2008 16:24:23 +0000 Subject: [PATCH] Daniel Zimmerman - Fix random widl crashes when compiling on Vista x86. Patch from Wine bugzilla: http://bugs.winehq.org/show_bug.cgi?id=16084 . See issue #3877 for more details. svn path=/trunk/; revision=37390 --- 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;