changeset 1521:b86a0aee25fa

Another encoding fix ..
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 11 May 2018 23:17:57 +0300
parents 2801c76088b5
children 0d1cf72fb732
files tools/lib64gfx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Fri May 11 23:12:55 2018 +0300
+++ b/tools/lib64gfx.c	Fri May 11 23:17:57 2018 +0300
@@ -715,7 +715,7 @@
         }
 
         // Do we need to reallocate some more space?
-        chksize = op->offs + size + boffs - 1;
+        chksize = op->offs + size + boffs;
         if (!dmGrowBufCheckGrow(buf, chksize))
         {
             res = dmError(DMERR_MALLOC,