widl: Properly size the return value procformat.

This commit is contained in:
Robert Shearman 2006-06-01 15:40:22 +01:00 committed by Alexandre Julliard
parent 6f85f989f5
commit 90decb631c
1 changed files with 6 additions and 1 deletions

View File

@ -1892,8 +1892,13 @@ size_t get_size_procformatstring(const ifref_t *ifaces)
}
}
var = func->def;
/* return value size */
size += 2; /* FIXME: determine real size */
if (is_void(var->type, NULL))
size += 2;
else
size += get_size_procformatstring_var(var);
func = PREV_LINK(func);
}
}