Mercurial > hg > dmlib
changeset 2237:26f1bae40fb6
s/nbanks/nblocks/g
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 15 Jun 2019 06:26:07 +0300 |
parents | 57ccd949093f |
children | 5db6e0b63b35 |
files | tools/gfxconv.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/gfxconv.c Sat Jun 15 06:19:34 2019 +0300 +++ b/tools/gfxconv.c Sat Jun 15 06:26:07 2019 +0300 @@ -1302,7 +1302,7 @@ if ((dst->fmt->type & D64_FMT_FLI) && (src->fmt->type & D64_FMT_FLI) == 0) { dmMsg(1, "Upconverting multicolor to FLI.\n"); - for (int i = 0; i < dst->nbanks; i++) + for (int i = 0; i < dst->nblocks; i++) { if (dst->color[i].data == NULL) dmC64MemBlockCopy(&dst->color[i], &src->color[0]);