[PATCH v6 05/12] msscript.ocx: Implement IScriptModuleCollection::get_Item.

Jacek Caban jacek at codeweavers.com
Wed Jun 24 10:33:35 CDT 2020


On 24.06.2020 16:16, Gabriel Ivăncescu wrote:
> +static ScriptModule *find_module(ScriptControl *control, BSTR name)
> +{
> +    if (!wcsicmp(name, L"Global"))
> +        return control->modules[0];


Does it have to be a special case? You store names for other modules 
anyway, why not use that for global module as well?


Thanks,

Jacek




More information about the wine-devel mailing list