[PATCH v2 2/8] vbscript: Store non-persistent code into the script dispatch object.

Jacek Caban jacek at codeweavers.com
Wed Oct 30 09:21:48 CDT 2019


On 10/30/19 1:57 PM, Gabriel Ivăncescu wrote:
> diff --git a/dlls/vbscript/vbscript.c b/dlls/vbscript/vbscript.c
> index cff2ef5..a968f8d 100644
> --- a/dlls/vbscript/vbscript.c
> +++ b/dlls/vbscript/vbscript.c
> @@ -94,6 +94,10 @@ static void exec_queued_code(script_ctx_t *ctx)
>           if(iter->pending_exec)
>               exec_global_code(ctx, iter, NULL);
>       }
> +    LIST_FOR_EACH_ENTRY(iter, &ctx->script_obj->code_list, vbscode_t, entry) {
> +        if(iter->pending_exec)
> +            exec_global_code(ctx, iter, NULL);
> +    }
>   }
>   


I'm not sure we want two different lists for those. Why can't we simply 
store the flag inside vbscode_t?


Jacek




More information about the wine-devel mailing list