mirror of
https://github.com/reactos/reactos.git
synced 2025-05-01 03:29:37 +00:00
Simplify the epilogue code of CCanvasWindow::OnSetCursor by using bHandle variable. CORE-18867
This commit is contained in:
parent
9ff9580fb0
commit
62b6859a67
1 changed files with 1 additions and 1 deletions
|
@ -668,7 +668,7 @@ LRESULT CCanvasWindow::OnSetCursor(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selectionModel.m_bShow || !setCursorOnSizeBox(CanvasHitTest(pt)))
|
if (selectionModel.m_bShow || !setCursorOnSizeBox(CanvasHitTest(pt)))
|
||||||
::SetCursor(::LoadCursor(NULL, IDC_ARROW));
|
bHandled = FALSE;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue