Don't set the DC_DIRTY flag in SetDCState since we just updated the DC.

This commit is contained in:
Alexandre Julliard 2002-08-02 01:01:09 +00:00
parent 59ffa9fff7
commit 93a6444b45

View file

@ -376,7 +376,7 @@ void WINAPI SetDCState16( HDC16 hdc, HDC16 hdcs )
} }
TRACE("%04x %04x\n", hdc, hdcs ); TRACE("%04x %04x\n", hdc, hdcs );
dc->flags = dcs->flags & ~DC_SAVED; dc->flags = dcs->flags & ~(DC_SAVED | DC_DIRTY);
dc->hDevice = dcs->hDevice; dc->hDevice = dcs->hDevice;
dc->totalExtent = dcs->totalExtent; dc->totalExtent = dcs->totalExtent;
dc->ROPmode = dcs->ROPmode; dc->ROPmode = dcs->ROPmode;