Revision: 30646
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30646
Author: campbellbarton
Date: 2010-07-23 07:31:11 +0200 (Fri, 23 Jul 2010)
Log Message:
-----------
fix bad memory range of text3d charinfo being used.
Modified Paths:
--------------
trunk/blender/source/blender/blenloader/intern/writefile.c
Modified: trunk/blender/source/blender/blenloader/intern/writefile.c
===================================================================
--- trunk/blender/source/blender/blenloader/intern/writefile.c 2010-07-23
04:41:27 UTC (rev 30645)
+++ trunk/blender/source/blender/blenloader/intern/writefile.c 2010-07-23
05:31:11 UTC (rev 30646)
@@ -1423,7 +1423,7 @@
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 {
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs