msxml3: Callback only if state really changed.
This commit is contained in:
parent
e1ca5965b8
commit
8630368afb
|
@ -90,9 +90,11 @@ static inline httprequest *impl_from_IXMLHTTPRequest( IXMLHTTPRequest *iface )
|
||||||
|
|
||||||
static void httprequest_setreadystate(httprequest *This, READYSTATE state)
|
static void httprequest_setreadystate(httprequest *This, READYSTATE state)
|
||||||
{
|
{
|
||||||
|
READYSTATE last = This->state;
|
||||||
|
|
||||||
This->state = state;
|
This->state = state;
|
||||||
|
|
||||||
if (This->sink)
|
if (This->sink && last != state)
|
||||||
{
|
{
|
||||||
DISPPARAMS params;
|
DISPPARAMS params;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue