[MSPAINT] Follow-up of #5332 (9ff9580)

Simplify the epilogue code of CCanvasWindow::OnSetCursor by using bHandle variable. CORE-18867
This commit is contained in:
Katayama Hirofumi MZ 2023-06-13 14:18:12 +09:00
parent 9ff9580fb0
commit 62b6859a67

View file

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