[Wine-patches] [Eterhack] mshtml: Turn off notifies for DISPID_READYSTATE (eterbug #2942)

Konstantin Kondratyuk =?iso-8859-1?q?kondratyuk_=CE=C1_etersoft=2Eru?=
Вт Апр 7 14:40:41 MSD 2009


-- 
Best regards,
Konstantin Kondratyuk.
----------- следующая часть -----------
From 357011ee2ee831cd80e5bacac50484c1dd1eb06b Mon Sep 17 00:00:00 2001
From: Konstantin Kondratyuk <kondratyuk на etersoft.ru>
Date: Tue, 7 Apr 2009 14:36:09 +0400
Subject: [PATCH] mshtml: Turn off notifies for DISPID_READYSTATE (eterbug #2942)

---
 dlls/mshtml/conpoint.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/conpoint.c b/dlls/mshtml/conpoint.c
index 10d8e29..233bd60 100644
--- a/dlls/mshtml/conpoint.c
+++ b/dlls/mshtml/conpoint.c
@@ -55,7 +55,7 @@ void call_property_onchanged(ConnectionPoint *This, DISPID dispid)
     DWORD i;
 
     for(i=0; i<This->sinks_size; i++) {
-        if(This->sinks[i].propnotif)
+        if(This->sinks[i].propnotif && dispid != DISPID_READYSTATE)
             IPropertyNotifySink_OnChanged(This->sinks[i].propnotif, dispid);
     }
 }
-- 
1.6.1.3.GIT



Подробная информация о списке рассылки Wine-patches