Module: wine Branch: master Commit: 8de773d9f275395e525340c19b53610789fba753 URL: https://source.winehq.org/git/wine.git/?a=commit;h=8de773d9f275395e525340c19...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Mar 12 17:39:47 2021 +0100
mshtml: Initialize HTMLOptionElementFactory object with compat mode.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mshtml/htmlselect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmlselect.c b/dlls/mshtml/htmlselect.c index 13a2f8b3f6a..f94319e22a2 100644 --- a/dlls/mshtml/htmlselect.c +++ b/dlls/mshtml/htmlselect.c @@ -614,8 +614,8 @@ HRESULT HTMLOptionElementFactory_Create(HTMLInnerWindow *window, HTMLOptionEleme ret->ref = 1; ret->window = window;
- init_dispex(&ret->dispex, (IUnknown*)&ret->IHTMLOptionElementFactory_iface, - &HTMLOptionElementFactory_dispex); + init_dispex_with_compat_mode(&ret->dispex, (IUnknown*)&ret->IHTMLOptionElementFactory_iface, + &HTMLOptionElementFactory_dispex, dispex_compat_mode(&window->event_target.dispex));
*ret_ptr = ret; return S_OK;