msxml3: Callback only if state really changed.

This commit is contained in:
Nikolay Sivov 2010-10-08 11:41:48 +04:00 committed by Alexandre Julliard
parent e1ca5965b8
commit 8630368afb
1 changed files with 3 additions and 1 deletions

View File

@ -90,9 +90,11 @@ static inline httprequest *impl_from_IXMLHTTPRequest( IXMLHTTPRequest *iface )
static void httprequest_setreadystate(httprequest *This, READYSTATE state)
{
READYSTATE last = This->state;
This->state = state;
if (This->sink)
if (This->sink && last != state)
{
DISPPARAMS params;