diff options
-rw-r--r-- | src/display.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display.cc b/src/display.cc index 1fbe190..dfe4c1f 100644 --- a/src/display.cc +++ b/src/display.cc @@ -191,7 +191,7 @@ void Display::update() { else if (current_anim->length <= 128) str_pos = current_anim->length - 1; else - str_pos = 127; + str_pos = (current_anim->length - 1) % 128; status = RUNNING; update_threshold = current_anim->speed; } |