From 528ac585193d9eb086ef9fba5840b73de263c2e4 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 5 Jan 2004 12:24:54 +0000 Subject: [project @ 2004-01-05 12:24:54 by jmb] Enumerate all sprites in file (hopefully). svn path=/import/netsurf/; revision=485 --- riscos/theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscos/theme.c') diff --git a/riscos/theme.c b/riscos/theme.c index 88ed6b796..bee887e6d 100644 --- a/riscos/theme.c +++ b/riscos/theme.c @@ -89,7 +89,7 @@ void ro_theme_load(char *pathname) /* find the highest sprite called throbber%i */ theme_throbs = 0; - for (i = 1; i != theme_sprite_area->sprite_count; i++) { + for (i = 1; i <= theme_sprite_area->sprite_count; i++) { char name[32]; osspriteop_return_name(osspriteop_USER_AREA, theme_sprite_area, name, 32, i); -- cgit v1.2.3