summaryrefslogtreecommitdiff
path: root/frontends/riscos/content-handlers/sprite.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/riscos/content-handlers/sprite.c')
-rw-r--r--frontends/riscos/content-handlers/sprite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/riscos/content-handlers/sprite.c b/frontends/riscos/content-handlers/sprite.c
index 704e5d6fe..86749096f 100644
--- a/frontends/riscos/content-handlers/sprite.c
+++ b/frontends/riscos/content-handlers/sprite.c
@@ -142,7 +142,7 @@ bool sprite_convert(struct content *c)
error->errnum,
error->errmess);
msg_data.errordata.errorcode = NSERROR_UNKNOWN;
- msg_data.errordata.errorcode = error->errmess;
+ msg_data.errordata.errormsg = error->errmess;
content_broadcast(c, CONTENT_MSG_ERROR, &msg_data);
return false;
}