diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-05-22 16:03:32 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-05-22 16:03:32 +0400 |
commit | 7ab602b7308892042db8d9c9bfe1b61da2dcedd8 (patch) | |
tree | 1ecc5ad095024edae98ab6b5e81c0187714223aa /source/blender/makesrna | |
parent | 1dd977272b22cb4a20746c369b67c3ca68f3227c (diff) |
Correction to previous commit, sorry about that. :/
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_packedfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_packedfile.c b/source/blender/makesrna/intern/rna_packedfile.c index ac4db49fd06..d0c0ed25d22 100644 --- a/source/blender/makesrna/intern/rna_packedfile.c +++ b/source/blender/makesrna/intern/rna_packedfile.c @@ -49,7 +49,7 @@ void rna_PackedImage_data_get(PointerRNA *ptr, char *value) { PackedFile *pf = (PackedFile *)ptr->data; memcpy(value, pf->data, (size_t)pf->size); - value[pf->size + 1] = '\0'; + value[pf->size] = '\0'; } int rna_PackedImage_data_len(PointerRNA *ptr) |