Commit 26ad403c authored by Robert Wilhelm's avatar Robert Wilhelm Committed by Alexandre Julliard

vbscript: Fix return value of lookup_identifier().

parent d45b3d4f
...@@ -146,7 +146,7 @@ static HRESULT lookup_identifier(exec_ctx_t *ctx, BSTR name, vbdisp_invoke_type_ ...@@ -146,7 +146,7 @@ static HRESULT lookup_identifier(exec_ctx_t *ctx, BSTR name, vbdisp_invoke_type_
if(!wcsicmp(ctx->func->vars[i].name, name)) { if(!wcsicmp(ctx->func->vars[i].name, name)) {
ref->type = REF_VAR; ref->type = REF_VAR;
ref->u.v = ctx->vars+i; ref->u.v = ctx->vars+i;
return TRUE; return S_OK;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment