jscript: Set the DISPID to DISPID_UNKNOWN if unknown.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b6ed0ef4d5
commit
15fce35b59
|
@ -1083,6 +1083,7 @@ HRESULT jsdisp_get_id(jsdisp_t *jsdisp, const WCHAR *name, DWORD flags, DISPID *
|
|||
}
|
||||
|
||||
TRACE("not found %s\n", debugstr_w(name));
|
||||
*id = DISPID_UNKNOWN;
|
||||
return DISP_E_UNKNOWNNAME;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue