1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:47:44 +00:00

Userland: Fix typos

This commit is contained in:
Nico Weber 2021-09-30 20:11:27 -04:00 committed by Linus Groh
parent 971d60c329
commit 6c9bc18a79
6 changed files with 17 additions and 17 deletions

View file

@ -21,7 +21,7 @@ void TrackManager::time_forward(int amount)
{
int new_value = (static_cast<int>(m_time) + amount) % roll_length;
if (new_value < 0) { // If the new time value is negaive add roll_length to wrap around
if (new_value < 0) { // If the new time value is negative add roll_length to wrap around
m_time = roll_length + new_value;
} else {
m_time = new_value;