Correction to previous commit, sorry about that. :/

This commit is contained in:
Bastien Montagne 2014-05-22 14:03:32 +02:00
parent 1dd977272b
commit 7ab602b730
1 changed files with 1 additions and 1 deletions

View File

@ -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)