Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-05-22 16:03:32 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-05-22 16:03:32 +0400
commit7ab602b7308892042db8d9c9bfe1b61da2dcedd8 (patch)
tree1ecc5ad095024edae98ab6b5e81c0187714223aa /source/blender/makesrna/intern/rna_packedfile.c
parent1dd977272b22cb4a20746c369b67c3ca68f3227c (diff)
Correction to previous commit, sorry about that. :/
Diffstat (limited to 'source/blender/makesrna/intern/rna_packedfile.c')
-rw-r--r--source/blender/makesrna/intern/rna_packedfile.c2
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)