diff options
Diffstat (limited to 'amiga/icon.c')
-rw-r--r-- | amiga/icon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/icon.c b/amiga/icon.c index eb6725efc..07dd9db2b 100644 --- a/amiga/icon.c +++ b/amiga/icon.c @@ -231,7 +231,7 @@ bool amiga_icon_convert(struct content *c) if(dobj) FreeDiskObject(dobj); return false; } - imagebuf = (ULONG *) bitmap_get_buffer(c->bitmap); + imagebuf = (ULONG *) bitmap_get_buffer(icon_c->bitmap); if (!imagebuf) { msg_data.error = messages_get("NoMemory"); content_broadcast(c, CONTENT_MSG_ERROR, msg_data); |