[Bf-blender-cvs] [7ab602b] master: Correction to previous commit, sorry about that. :/
Bastien Montagne
noreply at git.blender.org
Thu May 22 14:04:51 CEST 2014
Commit: 7ab602b7308892042db8d9c9bfe1b61da2dcedd8
Author: Bastien Montagne
Date: Thu May 22 14:03:32 2014 +0200
https://developer.blender.org/rB7ab602b7308892042db8d9c9bfe1b61da2dcedd8
Correction to previous commit, sorry about that. :/
===================================================================
M source/blender/makesrna/intern/rna_packedfile.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_packedfile.c b/source/blender/makesrna/intern/rna_packedfile.c
index ac4db49..d0c0ed2 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)
More information about the Bf-blender-cvs
mailing list