Fixed region leak.

oldstable
Alexandre Julliard 2001-06-20 00:18:48 +00:00
parent 0d83167209
commit 8ffcf755fe
1 changed files with 1 additions and 0 deletions

View File

@ -187,6 +187,7 @@ INT X11DRV_ScrollWindowEx( HWND hwnd, INT dx, INT dy,
ReleaseDC( hwnd, hDC );
if (bUpdate) CombineRgn( hrgnUpdate, hrgnUpdate, hrgn, RGN_OR );
else RedrawWindow( hwnd, NULL, hrgn, RDW_INVALIDATE | RDW_ERASE );
DeleteObject( hrgn );
}
/* Take into account the fact that some damages may have occured during the scroll */