30 Oct
2019
30 Oct
'19
2:21 p.m.
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