[project @ 2004-01-05 11:28:04 by jmb]

Add some logging. Revert last change.

svn path=/import/netsurf/; revision=483
This commit is contained in:
John Mark Bell 2004-01-05 11:28:04 +00:00
parent 8deead3bc3
commit 8bb5c9206d
2 changed files with 3 additions and 1 deletions

View File

@ -99,6 +99,7 @@ void ro_theme_load(char *pathname)
theme_throbs = n;
}
}
LOG(("theme_throbs: %d", theme_throbs));
}

View File

@ -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);