summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
Diffstat (limited to 'riscos')
-rw-r--r--riscos/artworks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscos/artworks.c b/riscos/artworks.c
index 6a52c5512..9cc219de1 100644
--- a/riscos/artworks.c
+++ b/riscos/artworks.c
@@ -168,7 +168,8 @@ bool artworks_convert(struct content *c, int width, int height)
c->data.artworks.block = malloc(INITIAL_BLOCK_SIZE);
if (!c->data.artworks.block) {
LOG(("failed to create block for ArtworksRenderer"));
- warn_user("NoMemory", 0);
+ msg_data.error = messages_get("NoMemory");
+ content_broadcast(c, CONTENT_MSG_ERROR, msg_data);
return false;
}