mirror of
https://github.com/reactos/reactos.git
synced 2026-05-29 21:19:51 +08:00
Simplify the epilogue code of CCanvasWindow::OnSetCursor by using bHandle variable. CORE-18867
This commit is contained in:
@@ -668,7 +668,7 @@ LRESULT CCanvasWindow::OnSetCursor(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL
|
||||
}
|
||||
|
||||
if (selectionModel.m_bShow || !setCursorOnSizeBox(CanvasHitTest(pt)))
|
||||
::SetCursor(::LoadCursor(NULL, IDC_ARROW));
|
||||
bHandled = FALSE;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user