summaryrefslogtreecommitdiff
path: root/riscos/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/window.c')
-rw-r--r--riscos/window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscos/window.c b/riscos/window.c
index ebca48914..baf529521 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -445,8 +445,9 @@ void ro_gui_throb(void)
{
g->throbtime = nowtime;
g->throbber++;
- if (theme_throbs <= (unsigned int)g->throbber)
+ if ((unsigned int)g->throbber > theme_throbs)
g->throbber = 0;
+ LOG(("g->throbber: %d", g->throbber));
sprintf(g->throb_buf, "throbber%u", g->throbber);
wimp_set_icon_state(g->data.browser.toolbar,
ICON_TOOLBAR_THROBBER, 0, 0);