Skip to content

Commit

Permalink
fix: typo of 1c514c5
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Nov 6, 2024
1 parent 1c514c5 commit 9c2d338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/MaaWin32ControlUnit/Input/SeizeInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ bool SeizeInput::input_text(const std::string& text)

UINT written = SendInput(static_cast<UINT>(input_vec.size()), input_vec.data(), sizeof(INPUT));

if (written == u16_text.size()) {
LogError << VAR(written) << VAR(u16_text.size()) << VAR(input_vec.size());
if (written != input_vec.size()) {
LogError << VAR(written) << VAR(input_vec.size()) << VAR(u16_text.size()) ;
return false;
}
return true;
Expand Down

0 comments on commit 9c2d338

Please sign in to comment.