Skip to content

Commit

Permalink
fix: missing break of 0e6348f
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Jun 6, 2024
1 parent 0e6348f commit 6c145d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/MaaAdbControlUnit/General/DeviceInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ std::optional<std::pair<int, int>> DeviceInfo::request_resolution()
case 2:
std::tie(width, height) = std::minmax(width, height);
LogInfo << "portrait" << VAR(orientation) << VAR(width) << VAR(height);
break;
case 1:
case 3:
std::tie(height, width) = std::minmax(width, height);
Expand Down

0 comments on commit 6c145d6

Please sign in to comment.