24 Jun
2020
24 Jun
'20
3:33 p.m.
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