Author: fireball Date: Sun Nov 16 10:24:23 2008 New Revision: 37390
URL: http://svn.reactos.org/svn/reactos?rev=37390&view=rev Log: 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.
Modified: trunk/reactos/tools/widl/typegen.c
Modified: trunk/reactos/tools/widl/typegen.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/typegen.c?rev=37... ============================================================================== --- trunk/reactos/tools/widl/typegen.c [iso-8859-1] (original) +++ trunk/reactos/tools/widl/typegen.c [iso-8859-1] Sun Nov 16 10:24:23 2008 @@ -3091,7 +3091,7 @@ 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;