mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
- Fix a crash while moving minimized MDI window in ConTEXT.
svn path=/trunk/; revision=65743
This commit is contained in:
parent
a138064724
commit
9bc240e832
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ DefWndDoSizeMove(PWND pwnd, WORD wParam)
|
||||||
* so we must unreference whatever cursor was current at the time we restored the old one.
|
* so we must unreference whatever cursor was current at the time we restored the old one.
|
||||||
* Maybe it is DragCursor, but maybe it is another one and DragCursor got already freed.
|
* Maybe it is DragCursor, but maybe it is another one and DragCursor got already freed.
|
||||||
*/
|
*/
|
||||||
UserDereferenceObject(OldCursor);
|
if (OldCursor) UserDereferenceObject(OldCursor);
|
||||||
#else
|
#else
|
||||||
IntDestroyCursor( hDragCursor, FALSE );
|
IntDestroyCursor( hDragCursor, FALSE );
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue