Mercurial > hg > dmlib
comparison tools/lib64gfx.c @ 1511:62ede0de6ab0
Fix an error message, should be "Encode", not "Decode".
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 11 May 2018 22:24:53 +0300 |
parents | 7bbf4b41fc33 |
children | ee691fbf8f27 |
comparison
equal
deleted
inserted
replaced
1510:7bbf4b41fc33 | 1511:62ede0de6ab0 |
---|---|
723 | 723 |
724 // Check size | 724 // Check size |
725 if (!dmC64GetOpSize(op, fmt, &size)) | 725 if (!dmC64GetOpSize(op, fmt, &size)) |
726 { | 726 { |
727 res = dmError(DMERR_INVALID_DATA, | 727 res = dmError(DMERR_INVALID_DATA, |
728 "Decode op SIZE out of bounds, op #%d type=%d, offs=%d ($%04x), " | 728 "Encode op SIZE out of bounds, op #%d type=%d, offs=%d ($%04x), " |
729 "bank=%d, size=%d ($%04x) vs. allocated %d ($%04x)\n", | 729 "bank=%d, size=%d ($%04x) vs. allocated %d ($%04x)\n", |
730 i, op->type, op->offs, op->offs, op->bank, size, size, op->size, op->size); | 730 i, op->type, op->offs, op->offs, op->bank, size, size, op->size, op->size); |
731 goto err; | 731 goto err; |
732 } | 732 } |
733 | 733 |