diff options
-rw-r--r-- | riscos/theme.c | 1 | ||||
-rw-r--r-- | riscos/window.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/riscos/theme.c b/riscos/theme.c index b42391f42..ca5d6a280 100644 --- a/riscos/theme.c +++ b/riscos/theme.c @@ -99,6 +99,7 @@ void ro_theme_load(char *pathname) theme_throbs = n; } } + LOG(("theme_throbs: %d", theme_throbs)); } 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); |