From a3eea997a9254b83ab2de97ae80d83588f696387 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Mon, 29 May 2023 14:38:42 -0700 Subject: [PATCH] Make sure letter-pacing happens right after timer set-up. --- utils/text-scroller.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/text-scroller.cc b/utils/text-scroller.cc index ea0cc12ca..770b5bacf 100644 --- a/utils/text-scroller.cc +++ b/utils/text-scroller.cc @@ -303,7 +303,7 @@ int main(int argc, char *argv[]) { // Make sure render-time delays are not influencing scroll-time if (speed > 0) { - if (next_frame.tv_sec == 0) { + if (next_frame.tv_sec == 0 && next_frame.tv_nsec == 0) { // First time. Start timer, but don't wait. clock_gettime(CLOCK_MONOTONIC, &next_frame); } else {