April 29, 2026
6:42 p.m.
Jacek Caban (@jacek) commented about dlls/vbscript/interp.c:
static HRESULT interp_equal(exec_ctx_t *ctx) { + const unsigned flags = ctx->instr->arg1.uint; VARIANT v; HRESULT hres;
TRACE("\n");
- hres = cmp_oper(ctx); + hres = cmp_oper(ctx, flags & CMP_LEFT_LITERAL, flags & CMP_RIGHT_LITERAL);
`cmp_oper` and `var_cmp` could take flags as an argument, so that we don't need to repeat it in each caller. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10775#note_138235