From e07dabf2d91f5659ab17a2d7a0d36cb054d4eb43 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Fri, 30 Aug 2013 14:56:41 +0400 Subject: [PATCH] mshtml: Use defined dispid instead of a magic value. --- dlls/mshtml/htmldoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mshtml/htmldoc.c b/dlls/mshtml/htmldoc.c index ce9320cf950..0df30da6179 100644 --- a/dlls/mshtml/htmldoc.c +++ b/dlls/mshtml/htmldoc.c @@ -453,7 +453,7 @@ static HRESULT WINAPI HTMLDocument_put_designMode(IHTMLDocument2 *iface, BSTR v) if(FAILED(hres)) return hres; - call_property_onchanged(&This->cp_container, 1014); + call_property_onchanged(&This->cp_container, DISPID_IHTMLDOCUMENT2_DESIGNMODE); return S_OK; }