changeset 1500:3223d01ac8e8

Fix some blunders in encode/decode error messages.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 11 May 2018 07:12:37 +0300
parents 32640e1934d5
children 9ccf973f65ac
files tools/lib64gfx.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Fri May 11 07:07:40 2018 +0300
+++ b/tools/lib64gfx.c	Fri May 11 07:12:37 2018 +0300
@@ -1586,7 +1586,7 @@
                 if (img->extraData[op->bank] == NULL)
                 {
                     res = dmError(DMERR_NULLPTR,
-                        "DT_EXTRA_DATA block is NULL in ",
+                        "DT_EXTRA_DATA block is NULL in "
                         "op #%d, offs=%d ($%04x), bank=%d, size=%d ($%04x) @ %d ($%04x)\n",
                         i, op->offs, op->offs, op->bank, size, size, buf->len, buf->len);
                     goto err;
@@ -1594,7 +1594,7 @@
                 if (size > img->extraDataSizes[op->bank])
                 {
                     res = dmError(DMERR_INTERNAL,
-                        "DT_EXTRA_DATA size mismatch %d <> %d in ",
+                        "DT_EXTRA_DATA size mismatch %d <> %d in "
                         "op #%d, offs=%d ($%04x), bank=%d, size=%d ($%04x) @ %d ($%04x)\n",
                         op->size, img->extraDataSizes[op->bank], i, op->offs, op->offs, op->bank, size, size, buf->len, buf->len);
                     goto err;
@@ -1613,7 +1613,7 @@
                     case DC_D024: *dst = img->d024; break;
                     default:
                         res = dmError(DMERR_INTERNAL,
-                            "Unhandled DT_COLOR_REG mode %d in ",
+                            "Unhandled DT_COLOR_REG mode %d in "
                             "op #%d, offs=%d ($%04x), bank=%d, size=%d ($%04x) @ %d ($%04x)\n",
                             op->size, i, op->offs, op->offs, op->bank, size, size, buf->len, buf->len);
                         goto err;