Skip to content

Commit

Permalink
Fix -Wswitch warning in Mouse
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Nov 27, 2024
1 parent 6be09ef commit 7b501b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Src/Mouse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,9 @@ void Mouse::ProcessMessage(UINT message, WPARAM wParam, LPARAM lParam)
case XBUTTON2:
pImpl->mState.xButton2 = true;
break;

default:
break;
}
break;

Expand All @@ -461,6 +464,9 @@ void Mouse::ProcessMessage(UINT message, WPARAM wParam, LPARAM lParam)
case XBUTTON2:
pImpl->mState.xButton2 = false;
break;

default:
break;
}
break;

Expand Down

0 comments on commit 7b501b2

Please sign in to comment.