[1/2] widl: Replace erroneously removed current_func assignment

Dan Hipschman dsh at linux.ucla.edu
Fri May 18 18:52:25 CDT 2007


This accidentally came out and should not have.  Thanks to Eric Kohl for
pointing this out to me.

---
 tools/widl/typegen.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index 3d61615..3aca92f 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -1582,6 +1582,8 @@ static size_t process_tfs(FILE *file, const ifref_list_t *ifaces, int for_object
             LIST_FOR_EACH_ENTRY( func, iface->iface->funcs, const func_t, entry )
             {
                 if (is_local(func->def->attrs)) continue;
+
+                current_func = func;
                 if (func->args)
                     LIST_FOR_EACH_ENTRY( var, func->args, const var_t, entry )
                         var->type->typestring_offset



More information about the wine-patches mailing list