diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-23 09:31:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-23 09:31:11 +0400 |
commit | 37bb55b7bc2947bc5093d58789871e728cd9e48d (patch) | |
tree | 0390f6bce95d6433bf8a216a374a422cb35b60a3 /source | |
parent | bd30c4da8aeb164d9276beffe09a2a18a5c90523 (diff) |
fix bad memory range of text3d charinfo being used.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index 902f572b2f3..bee1b0a5388 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -1423,7 +1423,7 @@ static void write_curves(WriteData *wd, ListBase *idbase) if(cu->vfont) { writedata(wd, DATA, amount_of_chars(cu->str)+1, cu->str); - writestruct(wd, DATA, "CharInfo", cu->len, cu->strinfo); + writestruct(wd, DATA, "CharInfo", cu->len+1, cu->strinfo); writestruct(wd, DATA, "TextBox", cu->totbox, cu->tb); } else { |