From 9524776ffae1573822df8cc8b32325359231177a Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Mon, 7 Oct 2013 16:36:59 +1300 Subject: [PATCH] Fix number of message repeats --- utils/tinygl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/tinygl.c b/utils/tinygl.c index 33da4b9..d3258ad 100644 --- a/utils/tinygl.c +++ b/utils/tinygl.c @@ -237,10 +237,10 @@ static void tinygl_text_advance (void) { if (!tinygl.message[tinygl.message_index]) { - tinygl.message_index = 0; - if (tinygl.message_repeats == 0) + if (tinygl.message_repeats <= 1) return; tinygl.message_repeats--; + tinygl.message_index = 0; } if (tinygl.message[tinygl.message_index])