- Fix a crash while moving minimized MDI window in ConTEXT.

svn path=/trunk/; revision=65743
This commit is contained in:
James Tabor 2014-12-18 22:38:40 +00:00
parent a138064724
commit 9bc240e832

View file

@ -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