summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--riscos/theme.c2
1 files changed, 1 insertions, 1 deletions
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);