summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
Diffstat (limited to 'riscos')
-rw-r--r--riscos/gui/throbber.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/gui/throbber.c b/riscos/gui/throbber.c
index 05860a923..5e2c87678 100644
--- a/riscos/gui/throbber.c
+++ b/riscos/gui/throbber.c
@@ -285,12 +285,12 @@ bool ro_gui_throbber_icon_update(struct throbber *throbber)
bool ro_gui_throbber_icon_resize(struct throbber *throbber)
{
- os_error *error;
if (throbber->window == NULL)
return false;
if (throbber->icon != -1) {
+ os_error *error;
error = xwimp_resize_icon(throbber->window, throbber->icon,
throbber->extent.x0, throbber->extent.y0,
throbber->extent.x1, throbber->extent.y1);