[Bf-committers] Blender 2.43 RC1

Giuseppe Ghibò ghibo at mandriva.com
Mon Jan 8 10:04:25 CET 2007

Peter Schlaile wrote:
> Hi,
>>> #define VARSTRUCT_NAMEMAX 16
>>> ?
>> Dear Peter, I confirm you that with my patch but lowering string size
>> again to 16 would work without overrun while importing the obj file that
>> I cited above.
> OK. Commited to CVS. (I rewrote it a little bit, but my changes are
> only of cosmetic nature (hopefully). Please test!)
> http://projects.blender.org/pipermail/bf-blender-cvs/2007-January/008888.html

just one question.
Why you used string[X] = 0, rather than string[X] = '\0'? Results of string
termination should be the same (but the '\0' reminds we are dealing with a char string rather
than a pointer), but just wondering of the various "styles" ... ;-)


More information about the Bf-committers mailing list