https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e4512e6af250d261c8ff4b0ece6b3411c503d6b0
commit e4512e6af250d261c8ff4b0ece6b3411c503d6b0 Author: Katayama Hirofumi MZ <katayama.hirofumi...@gmail.com> AuthorDate: Mon Sep 11 07:44:39 2023 +0900 Commit: Katayama Hirofumi MZ <katayama.hirofumi...@gmail.com> CommitDate: Mon Sep 11 07:44:39 2023 +0900 [MSPAINT] IDM_IMAGEROTATEMIRROR: Fix indent Follow-up to #5660. CORE-19094 --- base/applications/mspaint/winproc.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/base/applications/mspaint/winproc.cpp b/base/applications/mspaint/winproc.cpp index c85b61b10c3..8a6e259b12f 100644 --- a/base/applications/mspaint/winproc.cpp +++ b/base/applications/mspaint/winproc.cpp @@ -916,35 +916,45 @@ LRESULT CMainWindow::OnCommand(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bH switch (mirrorRotateDialog.DoModal(mainWindow.m_hWnd)) { case 1: /* flip horizontally */ + { if (selectionModel.m_bShow) selectionModel.FlipHorizontally(); else imageModel.FlipHorizontally(); break; + } case 2: /* flip vertically */ + { if (selectionModel.m_bShow) selectionModel.FlipVertically(); else imageModel.FlipVertically(); break; + } case 3: /* rotate 90 degrees */ + { if (selectionModel.m_bShow) selectionModel.RotateNTimes90Degrees(1); else imageModel.RotateNTimes90Degrees(1); break; + } case 4: /* rotate 180 degrees */ + { if (selectionModel.m_bShow) selectionModel.RotateNTimes90Degrees(2); else imageModel.RotateNTimes90Degrees(2); break; + } case 5: /* rotate 270 degrees */ + { if (selectionModel.m_bShow) selectionModel.RotateNTimes90Degrees(3); else imageModel.RotateNTimes90Degrees(3); break; + } } } break;