diff options
| author | Liam <byteslice@airmail.cc> | 2023-03-11 22:10:38 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-03-12 11:33:01 -0400 |
| commit | 5be8a74b0cc4a256106b88a3765f9c2c49ade2f8 (patch) | |
| tree | 75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/input_common/drivers/mouse.cpp | |
| parent | 6f95e7487c3e42a7fe8e020e50123ab96af867d0 (diff) | |
general: fix spelling mistakes
Diffstat (limited to 'src/input_common/drivers/mouse.cpp')
| -rw-r--r-- | src/input_common/drivers/mouse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/drivers/mouse.cpp b/src/input_common/drivers/mouse.cpp index 94e92c37d9..4fb2a6cfa9 100644 --- a/src/input_common/drivers/mouse.cpp +++ b/src/input_common/drivers/mouse.cpp @@ -142,7 +142,7 @@ void Mouse::Move(int x, int y, int center_x, int center_y) { return; } - // Make slow movements at least 3 units on lenght + // Make slow movements at least 3 units on length if (move_distance < 3.0f) { // Normalize value mouse_change /= move_distance; @@ -154,7 +154,7 @@ void Mouse::Move(int x, int y, int center_x, int center_y) { const auto last_move_distance = last_mouse_change.Length(); - // Make fast movements clamp to 8 units on lenght + // Make fast movements clamp to 8 units on length if (last_move_distance > 8.0f) { // Normalize value last_mouse_change /= last_move_distance; |
