-
e0318426
by Robert Gerigk at 2026-03-11T14:16:52+01:00
jscript: Treat empty string as NULL in GetScriptDispatch.
On Windows, GetScriptDispatch(L"") returns the global dispatch object,
same as GetScriptDispatch(NULL). Wine previously returned E_INVALIDARG
because it only checked for NULL, not for an empty string.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59504
-
b54977d6
by Robert Gerigk at 2026-03-11T14:16:54+01:00
vbscript: Treat empty string as NULL in GetScriptDispatch.
On Windows, GetScriptDispatch(L"") returns the global dispatch object,
same as GetScriptDispatch(NULL). Wine previously returned E_INVALIDARG
because it only checked for NULL, not for an empty string.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59504