Mercurial > hg > dmlib
changeset 1946:c30dfd5e3227
Add a comment.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 29 Jun 2018 04:05:32 +0300 |
parents | 80d67f0e8567 |
children | 8896d5676f1b |
files | tools/lib64fmts.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/lib64fmts.c Fri Jun 29 02:02:42 2018 +0300 +++ b/tools/lib64fmts.c Fri Jun 29 04:05:32 2018 +0300 @@ -314,6 +314,8 @@ (void) op; (void) img; (void) fmt; + // Here we assume that the op triggering this function is + // at the end of the oplist, so the memory is allocated, memcpy(buf->data + fmtGunPaintMagicOffs + 2, fmtGunPaintMagicID, fmtGunPaintMagicLen); return TRUE; }