summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-05 22:18:50 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-05 22:18:50 +0100
commit49a82109ce2f4d44e92dfbbb4ad59311f54bad03 (patch)
treec904ee390391ac4ff3affbaad64aad2e4128387c
parent040d558d39072c42cbc763e07fa7ac0d8a0b3c80 (diff)
downloadnetsurf-49a82109ce2f4d44e92dfbbb4ad59311f54bad03.tar.gz
netsurf-49a82109ce2f4d44e92dfbbb4ad59311f54bad03.tar.bz2
riscos: Deal with silly typos. I'm too tired now.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
-rw-r--r--frontends/riscos/content-handlers/artworks.c2
-rw-r--r--frontends/riscos/content-handlers/draw.c2
-rw-r--r--frontends/riscos/content-handlers/sprite.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/frontends/riscos/content-handlers/artworks.c b/frontends/riscos/content-handlers/artworks.c
index 5bd34bfb7..eecb0f8ab 100644
--- a/frontends/riscos/content-handlers/artworks.c
+++ b/frontends/riscos/content-handlers/artworks.c
@@ -208,7 +208,7 @@ bool artworks_convert(struct content *c)
NSLOG(netsurf, INFO, "AWRender_FileInitAddress: 0x%x: %s",
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;
}
diff --git a/frontends/riscos/content-handlers/draw.c b/frontends/riscos/content-handlers/draw.c
index 76eff8fc1..870e33be3 100644
--- a/frontends/riscos/content-handlers/draw.c
+++ b/frontends/riscos/content-handlers/draw.c
@@ -129,7 +129,7 @@ bool draw_convert(struct content *c)
NSLOG(netsurf, INFO, "xdrawfile_bbox: 0x%x: %s",
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;
}
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;
}