14 Sep
2011
14 Sep
'11
11:47 a.m.
On Wed, Sep 14, 2011 at 1:56 PM, Jacek Caban <jacek(a)codeweavers.com> wrote:
--- a/dlls/vbscript/compile.c +++ b/dlls/vbscript/compile.c @@ -658,9 +658,26 @@ static HRESULT create_function(compile_ctx_t *ctx, function_decl_t *decl, functi func->code_ctx = ctx->code; func->type = decl->type;
+ func->arg_cnt = 0; if(decl->args) { ... + }else { + decl->args = NULL;
I think you want to set func->args to NULL at the last line. Cheers, Octavian