https://git.reactos.org/?p=reactos.git;a=commitdiff;h=62b6859a672765e28df9b…
commit 62b6859a672765e28df9b36964ecf549a8aada3d
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Tue Jun 13 14:18:12 2023 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Tue Jun 13 14:18:12 2023 +0900
[MSPAINT] Follow-up of #5332 (9ff9580)
Simplify the epilogue code of CCanvasWindow::OnSetCursor by using bHandle variable.
CORE-18867
---
base/applications/mspaint/canvas.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/applications/mspaint/canvas.cpp b/base/applications/mspaint/canvas.cpp
index c9f2ec887ba..e6977e3c2c0 100644
--- a/base/applications/mspaint/canvas.cpp
+++ b/base/applications/mspaint/canvas.cpp
@@ -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;
}